Re: GtkMenu

From: Date: Fri, 28 Dec 2001 20:59:12 +0000
Subject: Re: GtkMenu
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-938@lists.php.net to get a copy of this message
Sorry, how are you passing the menu to the function? which signal are you using and which parameters? ----- Original Message ----- From: "Anson Rinesmith" <anson@lddcorp.com> To: "PHP GTK GENERAL" <php-gtk-general@lists.php.net> Sent: Friday, December 28, 2001 3:44 PM Subject: [PHP-GTK] GtkMenu Using the same code $omenu_action = &new GtkOptionMenu(); $omenu_action->set_usize(50,25); $menu_action = &new GtkMenu(); $action_i1 = &new GtkMenuItem("Allow"); $action_i2 = &new GtkMenuItem("Deny"); $menu_action->append($action_i1); $menu_action->append($action_i2); $omenu_action->set_menu($menu_action); $box1_2->pack_start($omenu_action,false); If I pass $menu_action to a function, how do I get the string "Allow" or "Deny" back? I use get_active() I just get back the MenuItem.

« previous php.gtk.general (#938) next »