Re: Q: How to selectively remove a menu-item from a popup-menu in gtk+2?



On Saturday 10 August 2002 05:58, TP Muller wrote:

I haven't actually tried this, but shouldn't
    gtk_widget_hide(GTK_WIDGET(menuitem));
do the trick? Of course you'd need to save the menuitem widget pointers
somewhere on menu creation, or find them again later on.

Here comes the next problem. The menu-items added are passed via a 
GnomeUIInfo-array with the call gnome_app_fill_menu().

Best regards...

MacSlow



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