Re: Some introspection on GtkContainer children.



On Sat, 2005-09-17 at 11:34 +0100, Damon Chaplin wrote:
> I've had a look at all the composite children that Glade uses for GTK+
> widgets. I think all of these could have been avoided if the widgets had
> been written slightly differently:
> 
>   GladeChildOKButton;
>   GladeChildCancelButton;
>   GladeChildApplyButton;
>   GladeChildHelpButton;
>   GladeChildSaveButton;
>   GladeChildCloseButton;
> 
> These are the buttons used on many of the dialogs in GTK+. As I said
> before, if the dialogs had a "response" signal, these would be
> unnecessary.

Actually I think all of the dialogs except GtkInputDialog use
gtk_dialog_add_button() now and do emit "response" signals, so these
aren't needed any more anyway. (And GtkInputDialog could be updated
easily as well.)

Damon





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