Re: GtkOptionMenu: Customize?

From: Date: Fri, 28 Dec 2001 20:58:14 +0000
Subject: Re: GtkOptionMenu: Customize?
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-937@lists.php.net to get a copy of this message
The little box? You mean the button that's the optionmenu's parent? No you can't, it's not exposed as a property so you can't hide it. It's there so you can click on it to drop down the menu without getting yr mouse pointer in the way... ----- Original Message ----- From: "Anson Rinesmith" <anson@lddcorp.com> To: "PHP GTK GENERAL" <php-gtk-general@lists.php.net> Cc: "Steph" <Steph.Fox@btinternet.com> Sent: Friday, December 28, 2001 2:49 PM Subject: [PHP-GTK] GtkOptionMenu: Customize? Got the menu working great. GtkOptionMenu is what I really needed. $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); Now I need to know, can I get rid of the little box that appears on the right side of the menu? Space is an issue, and this makes the necessary box size to large.

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