Re: [gtk-list] Possible to "ghost" menu items?



>  Is it possible to "ghost" a menu item in a menu so it can not be chosen?  I
>  want to temporarily disable menu items if there are no active selections in
>  a list.  

Yes, just unset the menu item's sensitivity:

     gtk_widget_set_sensitive (my_menu_item, FALSE);

  Federico



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