Gtk2::UIManager Glib::Object +----Gtk2::UIManager Gtk2::Buildable

uimanager = Gtk2::UIManager->new

integer = $self->new_merge_id

accelgroup = $self->get_accel_group

action = $self->get_action ($path)
$path (string)

list = $self->get_action_groups

boolean = $self->get_add_tearoffs

$self->set_add_tearoffs ($add_tearoffs)
$add_tearoffs (boolean)

$self->add_ui ($merge_id, $path, $name, $action, $type, $top)
$merge_id (integer) $path (string) $name (string) $action (string or undef) $type (Gtk2::UIManagerItemType) $top (boolean)

integer = $self->add_ui_from_file ($filename)
$filename (string) May croak with a Glib::Error in $@ on failure.

integer = $self->add_ui_from_string ($buffer)
$buffer (string) May croak with a Glib::Error in $@ on failure.

$self->ensure_update

$self->insert_action_group ($action_group, $pos)
$action_group (Gtk2::ActionGroup) $pos (integer)

$self->remove_action_group ($action_group)
$action_group (Gtk2::ActionGroup)

$self->remove_ui ($merge_id)
$merge_id (integer)

list = $self->get_toplevels ($types)
$types (Gtk2::UIManagerItemType)

string = $self->get_ui

widget = $self->get_widget ($path)
$path (string) Whether tearoff menu items should be added to menus An XML string describing the merged UI

flags Gtk2::UIManagerItemType
'auto' / 'GTK_UI_MANAGER_AUTO' 'menubar' / 'GTK_UI_MANAGER_MENUBAR' 'menu' / 'GTK_UI_MANAGER_MENU' 'toolbar' / 'GTK_UI_MANAGER_TOOLBAR' 'placeholder' / 'GTK_UI_MANAGER_PLACEHOLDER' 'popup' / 'GTK_UI_MANAGER_POPUP' 'menuitem' / 'GTK_UI_MANAGER_MENUITEM' 'toolitem' / 'GTK_UI_MANAGER_TOOLITEM' 'separator' / 'GTK_UI_MANAGER_SEPARATOR' 'accelerator' / 'GTK_UI_MANAGER_ACCELERATOR' Gtk2, Glib::Object Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.