GTK MenuShell Nested Menu's
- From: Kevin Anthony <kevin s anthony gmail com>
- To: gtk-list gnome org
- Subject: GTK MenuShell Nested Menu's
- Date: Wed, 16 Mar 2011 16:56:05 -0400
I'm trying to nest a menu using menu_shell,
GtkWidget *tray_menu;
GtkWidget *child_menu;
tray_menu = gtk_menu_new ();
child_menu = gtk_menu_new ();
gtk_menu_shell_append(GTK_MENU_SHELL(tray_menu), child_menu);
but i get an error:
Gtk-CRITICAL **: gtk_menu_shell_insert: assertion `GTK_IS_MENU_ITEM
(child)' failed
so i guess my question is, how do i set one menu to be another menu's child?
--
Thanks
Kevin Anthony
www.NoSideRacing.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]