[Glade-users] how to freeze menuitem



How I can freeze and hide menuitem ?

I can freeze and hide button with this but I can't use for menuitem.

btn_3=lookup_widget(GTK_WIDGET(widget),"btn_input_item");

To freeze I use :  
gtk_widget_set_sensitive(btn_3, FALSE);

To hide I use :
gtk_widget_hide(btn_3);

thx 





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