Re: Some introspection on GtkContainer children.
- From: Damon Chaplin <damon karuna uklinux net>
- To: Tristan Van Berkom <tristan van berkom gmail com>
- Cc: Dan Winship <danw novell com>, gtk-devel-list gnome org, "Gustavo J. A. M. Carneiro" <gjc inescporto pt>
- Subject: Re: Some introspection on GtkContainer children.
- Date: Sun, 18 Sep 2005 10:58:29 +0100
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]