Using UIManager
- From: Osmo Salomaa <otsaloma cc hut fi>
- To: gtk-perl-list <gtk-perl-list gnome org>
- Subject: Using UIManager
- Date: Wed, 16 Mar 2005 00:05:36 +0200
Hey,
Can I use a submenu of a menubar in a right-click popup menu? I have
defined a submenu, say /menubar/menu/submenu, in UIManager consisting of
toggle items and I'd like to use that for a separate popup menu as well.
I'd like to do something like:
my $menu = $ui_manager->get_widget('/menubar/menu/submenu');
$menu->popup(...);
When I try it, the widget I get is a Gtk2::ImageMenuItem, not a Gtk2::Menu.
Osmo Salomaa
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]