Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtk2::actiongroup(3) [suse man page]

Gtk2::ActionGroup(3)					User Contributed Perl Documentation				      Gtk2::ActionGroup(3)

NAME
Gtk2::ActionGroup NOTE: Translation In C, gtk+'s action groups can use the translation domain to ensure that action labels and tooltips are translated along with the rest of the app. However, the translation function was not available for calling by the Perl bindings until gtk+ 2.6; that is, setting the translation domain had no effect. Translation of action groups is supported in Perl as of Gtk2 1.080 using gtk+ 2.6.0 or later. HIERARCHY
Glib::Object +----Gtk2::ActionGroup INTERFACES
Gtk2::Buildable METHODS
actiongroup = Gtk2::ActionGroup->new ($name) o $name (string) action = $action_group->get_action ($action_name) o $action_name (string) $action_group->add_action ($action) o $action (Gtk2::Action) $action_group->add_action_with_accel ($action, $accelerator) o $action (Gtk2::Action) o $accelerator (string or undef) $action_group->add_actions ($action_entries, $user_data=undef) o $action_entries (scalar) o $user_data (scalar) $action_group->add_radio_actions ($radio_action_entries, $value, $on_change, $user_data=undef) o $radio_action_entries (scalar) o $value (integer) o $on_change (scalar) o $user_data (scalar) $action_group->add_toggle_actions ($toggle_action_entries, $user_data=undef) o $toggle_action_entries (scalar) o $user_data (scalar) list = $action_group->list_actions string = $action_group->get_name $action_group->remove_action ($action) o $action (Gtk2::Action) boolean = $action_group->get_sensitive $action_group->set_sensitive ($sensitive) o $sensitive (boolean) $action_group->set_translate_func ($func, $data=undef) o $func (scalar) o $data (scalar) Since: gtk+ 2.6 string = $action_group->translate_string ($string) o $string (string) Since: gtk+ 2.6 $action_group->set_translation_domain ($domain) o $domain (string) boolean = $action_group->get_visible $action_group->set_visible ($sensitive) o $sensitive (boolean) PROPERTIES
'name' (string : readable / writable / construct-only / private) A name for the action group. 'sensitive' (boolean : readable / writable / private) Whether the action group is enabled. 'visible' (boolean : readable / writable / private) Whether the action group is visible. SIGNALS
connect-proxy (Gtk2::ActionGroup, Gtk2::Action, Gtk2::Widget) disconnect-proxy (Gtk2::ActionGroup, Gtk2::Action, Gtk2::Widget) pre-activate (Gtk2::ActionGroup, Gtk2::Action) post-activate (Gtk2::ActionGroup, Gtk2::Action) 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. perl v5.12.1 2010-07-05 Gtk2::ActionGroup(3)

Check Out this Related Man Page

Gtk2::UIManager(3)					User Contributed Perl Documentation					Gtk2::UIManager(3)

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) o $path (string) list = $self->get_action_groups boolean = $self->get_add_tearoffs $self->set_add_tearoffs ($add_tearoffs) o $add_tearoffs (boolean) $self->add_ui ($merge_id, $path, $name, $action, $type, $top) o $merge_id (integer) o $path (string) o $name (string) o $action (string or undef) o $type (Gtk2::UIManagerItemType) o $top (boolean) integer = $self->add_ui_from_file ($filename) o $filename (string) May croak with a Glib::Error in $@ on failure. integer = $self->add_ui_from_string ($buffer) o $buffer (string) May croak with a Glib::Error in $@ on failure. $self->ensure_update $self->insert_action_group ($action_group, $pos) o $action_group (Gtk2::ActionGroup) o $pos (integer) $self->remove_action_group ($action_group) o $action_group (Gtk2::ActionGroup) $self->remove_ui ($merge_id) o $merge_id (integer) list = $self->get_toplevels ($types) o $types (Gtk2::UIManagerItemType) string = $self->get_ui widget = $self->get_widget ($path) o $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
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) add-widget (Gtk2::UIManager, Gtk2::Widget) actions-changed (Gtk2::UIManager) ENUMS AND FLAGS
flags Gtk2::UIManagerItemType o 'auto' / 'GTK_UI_MANAGER_AUTO' o 'menubar' / 'GTK_UI_MANAGER_MENUBAR' o 'menu' / 'GTK_UI_MANAGER_MENU' o 'toolbar' / 'GTK_UI_MANAGER_TOOLBAR' o 'placeholder' / 'GTK_UI_MANAGER_PLACEHOLDER' o 'popup' / 'GTK_UI_MANAGER_POPUP' o 'menuitem' / 'GTK_UI_MANAGER_MENUITEM' o 'toolitem' / 'GTK_UI_MANAGER_TOOLITEM' o 'separator' / 'GTK_UI_MANAGER_SEPARATOR' o 'accelerator' / 'GTK_UI_MANAGER_ACCELERATOR' o 'popup-with-accels' / 'GTK_UI_MANAGER_POPUP_WITH_ACCELS' 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. perl v5.12.1 2010-07-05 Gtk2::UIManager(3)
Man Page