GtkMenuItems and popup menus

From: Date: Thu, 12 Jul 2001 17:46:00 +0000
Subject: GtkMenuItems and popup menus
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2143@lists.php.net to get a copy of this message
I'm trying to create a popup menu with a separator in the middle, now I came accross this in the GTK+ docs: "The GtkHSeparator widget is not used as a separator within menus. To create a separator in a menu create an empty GtkMenuItem widget using gtk_menu_item_new() and add it to the menu with gtk_menu_append()" OK, so I do that and end up not with a serparator, but just a blank menuitem in the middle of the popup menu. Actually if I code it as $misep = &new GtkMenuItem(''); then I get an empty menu item, if I use: $misep = &new GtkMenuItem(); (as above) I get a core dump on startup. It looks like it always calls gtk_menu_item_new_with_label (looking at the backtrace). Is this something incorrect in the GTK docs....or just a bug? thanks, --rdp -- Rich Payne rpayne@alphalinux.org www.alphalinux.org

« previous php.gtk (#2143) next »