s> I've been looking around as to what status wxWidgets will have with
s> the new GTK3 when it comes out, but I can't find any info.
AFAIK nobody has looked into it yet. It would be great if someone did and
at least outlined the changes needed for GTK 3 compatibility. Unfortunately
it looks like there would be quite a few of them...
Regards,
VZ
I don't think anyone looked it what needs to be done to
convert the code, but I actually hope that only a limited
effort will be required to make apps run again, the devil
is often in the detail.
> I'm mainly thinking in terms of wxWidgets 3.0 here, but will it be
> able to compile on GTK3, rather than just 1 & 2?
No idea when GTK 3.0 will be out, but I doubt that wxWidgets 3.0
will be prepared for this.
> I use wxGTK when compiling for Linux (and of course wxMSW when
> compiling on windows), and I currently use Ubuntu. The next version
> (11.04) should come (if where's no delays with it) with GNOME 3 which
> will be based on GTK 3. Now I'm sure the gtk2 libraies will still be
> available, but will I be able to compile wxWidgets 2.9.1 (or 2.9.2 or
> 3.0 for that matter) and so my programs against GTK3?
Probably not, but maybe you could start to investigate what
will have to be done.
Is there a conversion guide for GTK 2.X -> GTK 3.0 somewhere?
Robert
The Gtk devs have suddenly (in the last 6 weeks or so) begun major surgery on the API and inner workings... which seems to have seriously ticked off the Gnome devs, who had thought that Gtk-3 would be a largely incremental change that would require minimal porting and allow a more-or-less concurrent release of Gnome-3 and Gtk-3. Now the changes are quite substantial and the new API hasn't really congealed.
It looks to me that it would be premature to start a wx-Gtk3 rewrite until that settles down, which will take at least another month or two. I'd also expect the results to be even less mature than usual for Gtk, so I suggest that Gtk-3 be a separate library and that the Gtk2 library should be maintained for at least another major wx version cycle.
Regards,
John Ralls
How surprising. This doesn't sound like Ubuntu will ship GNOME 3.0
in April 2011 will all major apps converted.
Robert
Since the current Gnome roadmap [1] shows Gnome-3 release in April (they've given up on the concurrent release with Gtk-3 in December), it will be challenging for Canonical to be ready with an Ubuntu release the same month. Gnome may decide to stick with Gtk-2 for Gnome 3, particularly if Gtk-3 doesn't actually happen in December. That's Gnome core, not major apps. On the one hand, one major project (Evolution) has reportedly decided to stay with Gtk-2 until the dust settles, while another (WebKitGtk) is keeping up with the changes. ISTR seeing that Gimp was keeping up, too, but now I can't find the post saying that.
[1] http://live.gnome.org/TwoPointNinetyone/
Regards,
John Ralls
Found this[1] in one of the tickets on the GNOME3 roadmap.
[1] - http://library.gnome.org/devel/gtk/unstable/gtk-migrating-2-to-3.html#id1365005
--
The programmer is fighting against the two most destructive forces in
the universe: entropy and human stupidity.
--Damian Conway
> Robert wrote:
>
> > Is there a conversion guide for GTK 2.X -> GTK 3.0 somewhere?
>
> Found this[1] in one of the tickets on the GNOME3 roadmap.
>
> [1] - http://library.gnome.org/devel/gtk/unstable/gtk-migrating-2-to-3.html#id1365005
OK, we we'll have to rewrite the wxClientDC code. Much of
that code can be taken from src/gtk/print.cpp which already
is a cairo_t based wxDC. How much other breakages we'll
remains to be seen.
Robert
If everything is cairo_t based, can the wx*DC classes be merged for this port?
The actual drawing code can be merged, of course.
Robert