Re: Libglade officially deprecated in favor of GtkBuilder.



Le lundi 11 mai 2009 à 11:31 +0200, Murray Cumming a écrit :
> On Mon, 2009-05-11 at 00:26 +0200, Andre Klapper wrote:
> > Hi,
> > 
> > The GNOME Release team has officially deprecated libglade in favor of
> > GtkBuilder.
> > 
> > Some reasons:
> > *  GtkBuilder is actively maintained.
> > *  GtkBuilder can create non-widgets (like treemodels).
> > *  It's one less library.
> > 
> > Aim is to get rid of libglade for GNOME 3.0. This is also covered by the
> > schedule at http://live.gnome.org/TwoPointTwentyseven .
> > 
> > For the status of your module see the "LibGlade" column in
> > http://www.gnome.org/~fpeters/299.html .
> > 
> > For migration instructions see
> > http://library.gnome.org/devel/gtk/stable/gtk-migrating-GtkBuilder.html .
> > 
> > Also see http://live.gnome.org/GnomeGoals/RemoveLibGladeUseGtkBuilder .
> 
> I think this is just slightly premature. GtkBuilder is still not fully
> able to deal with multiple top-level-widgets per file, as was usual when
> using libglade, and which is still supported by Glade's UI.
> http://bugzilla.gnome.org/show_bug.cgi?id=575714

Also, when there are GtkMenu defined in a glade file, the
gtk-builder-convert script will generate a GtkUIManager, but if I open
that generated file with glade-3, and save again, the ui manager is
gone... Files saved with glade-3 contains GtkMenuItem widgets but
loading that file generate GtkAction objects instead...

Is there a bug open for that?

Xavier Claessens.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]