GtkMenu check
- From: "D. Brian Gosnell" <brian-g unbounded com>
- To: gtk-app-devel-list gnome org
- Subject: GtkMenu check
- Date: Wed, 07 Mar 2001 07:37:06 -0600
I need to be able to check if a submenu or item exists so I don't create
duplicates. Something like:
if( !popup_menu->path ) {
menu_items = gtk_menu_item_new_with_label (name);
gtk_menu_append (GTK_MENU (popup_menu), menu_items);
}
How is this acomplished? How does one define a path to a menu item?
Thanks in advance,
DBrian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]