Steve Frécinaux wrote: > On Tue, 2007-06-12 at 19:38 -0300, Johan Dahlin wrote: > > >>> So what about some "GtkBuiltDialog" object class which would do that >>> automatically, while taking care of the dialog properties, and so being >>> able to inherit from it to ease the creation of such dialogs ? >>> >> [..] >> >>> Do you like the idea ? >>> >> Are you suggesting that this should be included in Gtk+ on top of GtkBuilder? >> > > Yes that's the idea, if the use-case is common enough and considered as > a "good practice". >
I have such a thing too: gboolean moo_glade_xml_fill_widget (MooGladeXML *xml, GtkWidget *target, const char *buffer, int size, const char *target_name, GError **error); It does the same thing as if constructed the widget as usual, except it doesn't actually create the widget instance. It's a totally good thing. Why only dialogs though, and what's the point in having a special class (sometimes you need to inherit from something and oops, single inheritance only)? Best regards, Yevgen _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list