Re: GtkStateType....



Hi,

<hunchback netcabo pt> writes:

> i'm trying to deactivate a button, and i did the following:
> 
> gtk_widget_set_state(button, GTK_STATE_INSENSITIVE);
> 
> but when i try to reactivate the button i did:
> gtk_widget_set_state(button, GTK_STATE_NORMAL);
> 
> and it doesn't work, nor do the other GtkStateType (GTK_STATE_ACTIVE, etc...)

use gtk_widget_set_sensitive () instead.


Salut, Sven



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