GtkOptionMenu: Customize?
| From: | (Anson Rinesmith) | Date: | Fri, 28 Dec 2001 14:49:25 +0000 |
| Subject: | GtkOptionMenu: Customize? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-935@lists.php.net to get a copy of this message | ||
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.