active and inactive



Title: active and inactive

Dear sir,
            
   I use "gtk_widget_set_state(button1,GTK_STATE_INSENSITIVE)"
to inactive the "button1". It works !!!
   But then when using "gtk_widget_set_state(button1,GTK_STATE_NORMAL)" or
"gtk_widget_set_state(button1,GTK_STATE_ACTIVE)"
to restore "button1" active. It fails. The button is still inactive.

Is there anybody help me ?

Jeffrey



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