GtkStateType....



Hi,

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...)

How do i do to put the button active again? (using gtk 1.2)

Afonso



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