RE: [gtk-list] Disabling menu items and buttons



> 
> I've created a menu with the ItemFactory and I would
> like to be able to disable/enable certain menu
> items (as in, grey it out). How could I do that?
> Also, is there a way to disable a button?
> 
> Thanks in advance.
> 

Try using gtk_widget_set_sensitive().

regards,

Arjan



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