Re: Q: How to selectively remove a menu-item from a popup-menu in gtk+2?
- From: Mirco Müller <mirco pool informatik rwth-aachen de>
- To: gtk-app-devel-list gnome org
- Subject: Re: Q: How to selectively remove a menu-item from a popup-menu in gtk+2?
- Date: Sat, 10 Aug 2002 06:06:35 +0200
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]