Re: Some introspection on GtkContainer children.
- From: Damon Chaplin <damon karuna uklinux net>
- To: "Gustavo J. A. M. Carneiro" <gjc inescporto pt>
- Cc: Dan Winship <danw novell com>, gtk-devel-list gnome org
- Subject: Re: Some introspection on GtkContainer children.
- Date: Fri, 16 Sep 2005 17:07:29 +0100
On Fri, 2005-09-16 at 12:14 +0100, Gustavo J. A. M. Carneiro wrote:
> On Fri, 2005-09-16 at 11:02 +0100, Damon Chaplin wrote:
> > avoid composite
> > children unless absolutely necessary (and even then only use simple
> > ones).
>
> I don't agree it's fair to limit developers' options on code reuse
> just for the sake of GUI builders. I'd rather pack an hbox into my
> widget than duplicate its layout algorithm, for example.
Sorry, I wasn't being very clear. When I said "avoid composite children"
I meant avoid forcing the GUI builder to support setting the properties
of composite children.
For example, for many of the dialogs (GtkFontSelection etc.) Glade has
to let the user select the "OK" button (a composite child) and add a
signal handler. But it would be better if the dialog had something like
a "response" signal instead, so there was no need to select the "OK"
button at all.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]