RE: [PHP-GTK] disabling GtkButton

From: Date: Thu, 11 Dec 2003 16:21:49 +0000
Subject: RE: [PHP-GTK] disabling GtkButton
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4287@lists.php.net to get a copy of this message
> > $button->unset_flags(GTK_SENSITIVE); > > > >The problem is, the button does not change its user interface to > a disabled > >button. I expect the button's label color to change but nothing happens. Alan's right, that part's built in to the convenience function rather than the flag itself. > >More interestingly if you are disabling a button with its own "clicked" > >callback function it actually does what i want. but when the callback > >function is for some other button or for some other signal of some other > >widget the ui of the button does not change at all. > > > >any comments? > > erm .. not without seeing how you're calling that callback and the contents of it, no :) > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.gtk.general (#4287) next »