.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::UIManager 3pm" .TH Gtk2::UIManager 3pm "2019-09-16" "perl v5.28.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Gtk2::UIManager \- wrapper for GtkUIManager .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 2 \& Glib::Object \& +\-\-\-\-Gtk2::UIManager .Ve .SH "INTERFACES" .IX Header "INTERFACES" .Vb 1 \& Gtk2::Buildable .Ve .SH "METHODS" .IX Header "METHODS" .SS "uimanager = Gtk2::UIManager\->\fBnew\fP" .IX Subsection "uimanager = Gtk2::UIManager->new" .ie n .SS "integer = $self\->\fBnew_merge_id\fP" .el .SS "integer = \f(CW$self\fP\->\fBnew_merge_id\fP" .IX Subsection "integer = $self->new_merge_id" .ie n .SS "accelgroup = $self\->\fBget_accel_group\fP" .el .SS "accelgroup = \f(CW$self\fP\->\fBget_accel_group\fP" .IX Subsection "accelgroup = $self->get_accel_group" .ie n .SS "action = $self\->\fBget_action\fP ($path)" .el .SS "action = \f(CW$self\fP\->\fBget_action\fP ($path)" .IX Subsection "action = $self->get_action ($path)" .IP "\(bu" 4 \&\f(CW$path\fR (string) .ie n .SS "list = $self\->\fBget_action_groups\fP" .el .SS "list = \f(CW$self\fP\->\fBget_action_groups\fP" .IX Subsection "list = $self->get_action_groups" .ie n .SS "boolean = $self\->\fBget_add_tearoffs\fP" .el .SS "boolean = \f(CW$self\fP\->\fBget_add_tearoffs\fP" .IX Subsection "boolean = $self->get_add_tearoffs" .ie n .SS "$self\->\fBset_add_tearoffs\fP ($add_tearoffs)" .el .SS "\f(CW$self\fP\->\fBset_add_tearoffs\fP ($add_tearoffs)" .IX Subsection "$self->set_add_tearoffs ($add_tearoffs)" .IP "\(bu" 4 \&\f(CW$add_tearoffs\fR (boolean) .ie n .SS "$self\->\fBadd_ui\fP ($merge_id, $path, $name, $action, $type, $top)" .el .SS "\f(CW$self\fP\->\fBadd_ui\fP ($merge_id, \f(CW$path\fP, \f(CW$name\fP, \f(CW$action\fP, \f(CW$type\fP, \f(CW$top\fP)" .IX Subsection "$self->add_ui ($merge_id, $path, $name, $action, $type, $top)" .IP "\(bu" 4 \&\f(CW$merge_id\fR (integer) .IP "\(bu" 4 \&\f(CW$path\fR (string) .IP "\(bu" 4 \&\f(CW$name\fR (string) .IP "\(bu" 4 \&\f(CW$action\fR (string or undef) .IP "\(bu" 4 \&\f(CW$type\fR (Gtk2::UIManagerItemType) .IP "\(bu" 4 \&\f(CW$top\fR (boolean) .ie n .SS "integer = $self\->\fBadd_ui_from_file\fP ($filename)" .el .SS "integer = \f(CW$self\fP\->\fBadd_ui_from_file\fP ($filename)" .IX Subsection "integer = $self->add_ui_from_file ($filename)" .IP "\(bu" 4 \&\f(CW$filename\fR (string) .PP May croak with a Glib::Error in $@ on failure. .ie n .SS "integer = $self\->\fBadd_ui_from_string\fP ($buffer)" .el .SS "integer = \f(CW$self\fP\->\fBadd_ui_from_string\fP ($buffer)" .IX Subsection "integer = $self->add_ui_from_string ($buffer)" .IP "\(bu" 4 \&\f(CW$buffer\fR (string) .PP May croak with a Glib::Error in $@ on failure. .ie n .SS "$self\->\fBensure_update\fP" .el .SS "\f(CW$self\fP\->\fBensure_update\fP" .IX Subsection "$self->ensure_update" .ie n .SS "$self\->\fBinsert_action_group\fP ($action_group, $pos)" .el .SS "\f(CW$self\fP\->\fBinsert_action_group\fP ($action_group, \f(CW$pos\fP)" .IX Subsection "$self->insert_action_group ($action_group, $pos)" .IP "\(bu" 4 \&\f(CW$action_group\fR (Gtk2::ActionGroup) .IP "\(bu" 4 \&\f(CW$pos\fR (integer) .ie n .SS "$self\->\fBremove_action_group\fP ($action_group)" .el .SS "\f(CW$self\fP\->\fBremove_action_group\fP ($action_group)" .IX Subsection "$self->remove_action_group ($action_group)" .IP "\(bu" 4 \&\f(CW$action_group\fR (Gtk2::ActionGroup) .ie n .SS "$self\->\fBremove_ui\fP ($merge_id)" .el .SS "\f(CW$self\fP\->\fBremove_ui\fP ($merge_id)" .IX Subsection "$self->remove_ui ($merge_id)" .IP "\(bu" 4 \&\f(CW$merge_id\fR (integer) .ie n .SS "list = $self\->\fBget_toplevels\fP ($types)" .el .SS "list = \f(CW$self\fP\->\fBget_toplevels\fP ($types)" .IX Subsection "list = $self->get_toplevels ($types)" .IP "\(bu" 4 \&\f(CW$types\fR (Gtk2::UIManagerItemType) .ie n .SS "string = $self\->\fBget_ui\fP" .el .SS "string = \f(CW$self\fP\->\fBget_ui\fP" .IX Subsection "string = $self->get_ui" .ie n .SS "widget = $self\->\fBget_widget\fP ($path)" .el .SS "widget = \f(CW$self\fP\->\fBget_widget\fP ($path)" .IX Subsection "widget = $self->get_widget ($path)" .IP "\(bu" 4 \&\f(CW$path\fR (string) .SH "PROPERTIES" .IX Header "PROPERTIES" .IP "'add\-tearoffs' (boolean : default false : readable / writable / private)" 4 .IX Item "'add-tearoffs' (boolean : default false : readable / writable / private)" Whether tearoff menu items should be added to menus .ie n .IP "'ui' (string : default ""\en\en"" : readable / private)" 4 .el .IP "'ui' (string : default ``\en\en'' : readable / private)" 4 .IX Item "'ui' (string : default nn : readable / private)" An \s-1XML\s0 string describing the merged \s-1UI\s0 .SH "SIGNALS" .IX Header "SIGNALS" .IP "\fBactions-changed\fR (Gtk2::UIManager)" 4 .IX Item "actions-changed (Gtk2::UIManager)" .PD 0 .IP "\fBadd-widget\fR (Gtk2::UIManager, Gtk2::Widget)" 4 .IX Item "add-widget (Gtk2::UIManager, Gtk2::Widget)" .IP "\fBconnect-proxy\fR (Gtk2::UIManager, Gtk2::Action, Gtk2::Widget)" 4 .IX Item "connect-proxy (Gtk2::UIManager, Gtk2::Action, Gtk2::Widget)" .IP "\fBdisconnect-proxy\fR (Gtk2::UIManager, Gtk2::Action, Gtk2::Widget)" 4 .IX Item "disconnect-proxy (Gtk2::UIManager, Gtk2::Action, Gtk2::Widget)" .IP "\fBpost-activate\fR (Gtk2::UIManager, Gtk2::Action)" 4 .IX Item "post-activate (Gtk2::UIManager, Gtk2::Action)" .IP "\fBpre-activate\fR (Gtk2::UIManager, Gtk2::Action)" 4 .IX Item "pre-activate (Gtk2::UIManager, Gtk2::Action)" .PD .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "flags Gtk2::UIManagerItemType" .IX Subsection "flags Gtk2::UIManagerItemType" .IP "\(bu" 4 \&'auto' / '\s-1GTK_UI_MANAGER_AUTO\s0' .IP "\(bu" 4 \&'menubar' / '\s-1GTK_UI_MANAGER_MENUBAR\s0' .IP "\(bu" 4 \&'menu' / '\s-1GTK_UI_MANAGER_MENU\s0' .IP "\(bu" 4 \&'toolbar' / '\s-1GTK_UI_MANAGER_TOOLBAR\s0' .IP "\(bu" 4 \&'placeholder' / '\s-1GTK_UI_MANAGER_PLACEHOLDER\s0' .IP "\(bu" 4 \&'popup' / '\s-1GTK_UI_MANAGER_POPUP\s0' .IP "\(bu" 4 \&'menuitem' / '\s-1GTK_UI_MANAGER_MENUITEM\s0' .IP "\(bu" 4 \&'toolitem' / '\s-1GTK_UI_MANAGER_TOOLITEM\s0' .IP "\(bu" 4 \&'separator' / '\s-1GTK_UI_MANAGER_SEPARATOR\s0' .IP "\(bu" 4 \&'accelerator' / '\s-1GTK_UI_MANAGER_ACCELERATOR\s0' .IP "\(bu" 4 \&'popup\-with\-accels' / '\s-1GTK_UI_MANAGER_POPUP_WITH_ACCELS\s0' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the \s-1LGPL.\s0 See Gtk2 for a full notice.