[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: Re: Pluggable widget types and implementations
From: Murray Cumming <murrayc () murrayc ! com>
Date: 2006-11-28 17:05:47
Message-ID: 1164733547.5681.46.camel () localhost ! localdomain
[Download RAW message or body]
On Tue, 2006-11-28 at 15:03 +0000, Ross Burton wrote:
> On Tue, 2006-11-28 at 14:53 +0100, Tim Janik wrote:
> > Resulting in gtk_file_selection_new() to return objects of the custom type
> > gtkfileselector_derived_type, and gtk_printer_selection_new() to return
> > objects of the custom type iface_implementation_type.
>
> How would this interact with libglade/GtkBuilder, where dialogs are
> created at runtime? I'm guessing that GtkBuilder uses g_object_new() to
> construct the objects.
This would also be an issue for language bindings. By convention, the
_new() functions are considered as mere C convenience functions, and
many language bindings (and some C applications) just use g_object_new()
directly.
If you want to replace implementations of GTypes, I think it would be
simplest to change the associations inside the GType system.
--
Murray Cumming
murrayc@murrayc.com
www.murrayc.com
www.openismus.com
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic