[9930] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Make an entire window insensitive?
daemon@ATHENA.MIT.EDU (Havoc Pennington)
Fri Nov 6 14:07:18 1998
Date: Fri, 6 Nov 1998 12:15:49 -0600 (CST)
From: Havoc Pennington <rhpennin@midway.uchicago.edu>
To: gtk-list@redhat.com
In-Reply-To: <364337C7.F6992E63@pobox.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
On Fri, 6 Nov 1998, Jeff Garzik wrote:
>
> The best thing I can come up with is keeping track of all the widgets in
> the dialog and toggling the insensitivity of each. That seems messy.
> Is there a single function that will make an entire dialog disabled, or
> insensitive, or similar?
>
I believe gtk_widget_set_sensitive recurses all child widgets, so you
can just call it on the dialog.
Havoc
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null