Index
NAME 
Gtk2::UIManager
HIERARCHY 
Glib::Object
+----Gtk2::UIManager
INTERFACES 
Gtk2::Buildable
METHODS 
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
- * $path (string)
PROPERTIES 
- 'add-tearoffs' (boolean : readable / writable / private)
Whether tearoff menu items should be added to menus
- 'ui' (string : readable / private)
An XML string describing the merged UI
SIGNALS 
- add-widget (Gtk2::UIManager, Gtk2::Widget)
- actions-changed (Gtk2::UIManager)
- connect-proxy (Gtk2::UIManager, Gtk2::Action, Gtk2::Widget)
- disconnect-proxy (Gtk2::UIManager, Gtk2::Action, Gtk2::Widget)
- pre-activate (Gtk2::UIManager, Gtk2::Action)
- post-activate (Gtk2::UIManager, Gtk2::Action)
ENUMS AND FLAGS 
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'
SEE ALSO 
Gtk2, Glib::Object
COPYRIGHT 
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.