disabling GtkButton
| From: | �mer Rauf Atay | Date: | Thu, 11 Dec 2003 15:10:41 +0000 |
| Subject: | disabling GtkButton | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-4285@lists.php.net to get a copy of this message | ||
I want to disable a GtkButton. I use the following and the button is
actually disabled, namely it does not respond to user actions:
$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.
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?