.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" 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 .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . 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 3" .TH Gtk2::UIManager 3 2023-07-25 "perl v5.38.0" "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 / static-nick / static-blurb)" 4 .IX Item "'add-tearoffs' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether tearoff menu items should be added to menus .IP "'ui' (string : default ""\en\en"" : readable / private / static-nick / static-blurb)" 4 .IX Item "'ui' (string : default ""nn"" : readable / private / static-nick / static-blurb)" An XML string describing the merged UI .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' / 'GTK_UI_MANAGER_AUTO' .IP \(bu 4 \&'menubar' / 'GTK_UI_MANAGER_MENUBAR' .IP \(bu 4 \&'menu' / 'GTK_UI_MANAGER_MENU' .IP \(bu 4 \&'toolbar' / 'GTK_UI_MANAGER_TOOLBAR' .IP \(bu 4 \&'placeholder' / 'GTK_UI_MANAGER_PLACEHOLDER' .IP \(bu 4 \&'popup' / 'GTK_UI_MANAGER_POPUP' .IP \(bu 4 \&'menuitem' / 'GTK_UI_MANAGER_MENUITEM' .IP \(bu 4 \&'toolitem' / 'GTK_UI_MANAGER_TOOLITEM' .IP \(bu 4 \&'separator' / 'GTK_UI_MANAGER_SEPARATOR' .IP \(bu 4 \&'accelerator' / 'GTK_UI_MANAGER_ACCELERATOR' .IP \(bu 4 \&'popup\-with\-accels' / 'GTK_UI_MANAGER_POPUP_WITH_ACCELS' .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 LGPL. See Gtk2 for a full notice.