Re: GtkBuilder Public API - Last call
- From: Yevgen Muntyan <muntyan tamu edu>
- To: Steve Frécinaux <nudrema gmail com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>, Johan Dahlin <jdahlin async com br>
- Subject: Re: GtkBuilder Public API - Last call
- Date: Tue, 12 Jun 2007 19:45:10 -0500
Steve Fr�naux 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]