.\" -*- 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::MenuShell 3" .TH Gtk2::MenuShell 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::MenuShell \- wrapper for GtkMenuShell .SH HIERARCHY .IX Header "HIERARCHY" .Vb 6 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::MenuShell .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 2 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable .Ve .SH METHODS .IX Header "METHODS" .ie n .SS "$menu_shell\->\fBactivate_item\fP ($menu_item, $force_deactivate)" .el .SS "\f(CW$menu_shell\fP\->\fBactivate_item\fP ($menu_item, \f(CW$force_deactivate\fP)" .IX Subsection "$menu_shell->activate_item ($menu_item, $force_deactivate)" .IP \(bu 4 \&\f(CW$menu_item\fR (Gtk2::Widget) .IP \(bu 4 \&\f(CW$force_deactivate\fR (boolean) .ie n .SS "$menu_shell\->\fBappend\fP ($child)" .el .SS "\f(CW$menu_shell\fP\->\fBappend\fP ($child)" .IX Subsection "$menu_shell->append ($child)" .IP \(bu 4 \&\f(CW$child\fR (Gtk2::Widget) .ie n .SS $menu_shell\->\fBcancel\fP .el .SS \f(CW$menu_shell\fP\->\fBcancel\fP .IX Subsection "$menu_shell->cancel" Since: gtk+ 2.4 .ie n .SS $menu_shell\->\fBdeactivate\fP .el .SS \f(CW$menu_shell\fP\->\fBdeactivate\fP .IX Subsection "$menu_shell->deactivate" .ie n .SS $menu_shell\->\fBdeselect\fP .el .SS \f(CW$menu_shell\fP\->\fBdeselect\fP .IX Subsection "$menu_shell->deselect" .ie n .SS "$menu_shell\->\fBinsert\fP ($child, $position)" .el .SS "\f(CW$menu_shell\fP\->\fBinsert\fP ($child, \f(CW$position\fP)" .IX Subsection "$menu_shell->insert ($child, $position)" .IP \(bu 4 \&\f(CW$child\fR (Gtk2::Widget) .IP \(bu 4 \&\f(CW$position\fR (integer) .ie n .SS "$menu_shell\->\fBprepend\fP ($child)" .el .SS "\f(CW$menu_shell\fP\->\fBprepend\fP ($child)" .IX Subsection "$menu_shell->prepend ($child)" .IP \(bu 4 \&\f(CW$child\fR (Gtk2::Widget) .ie n .SS "$menu_shell\->\fBselect_first\fP ($search_sensitive)" .el .SS "\f(CW$menu_shell\fP\->\fBselect_first\fP ($search_sensitive)" .IX Subsection "$menu_shell->select_first ($search_sensitive)" .IP \(bu 4 \&\f(CW$search_sensitive\fR (boolean) .PP Since: gtk+ 2.2 .ie n .SS "$menu_shell\->\fBselect_item\fP ($menu_item)" .el .SS "\f(CW$menu_shell\fP\->\fBselect_item\fP ($menu_item)" .IX Subsection "$menu_shell->select_item ($menu_item)" .IP \(bu 4 \&\f(CW$menu_item\fR (Gtk2::Widget) .ie n .SS "boolean = $menu_shell\->\fBget_take_focus\fP" .el .SS "boolean = \f(CW$menu_shell\fP\->\fBget_take_focus\fP" .IX Subsection "boolean = $menu_shell->get_take_focus" Since: gtk+ 2.8 .ie n .SS "$menu_shell\->\fBset_take_focus\fP ($take_focus)" .el .SS "\f(CW$menu_shell\fP\->\fBset_take_focus\fP ($take_focus)" .IX Subsection "$menu_shell->set_take_focus ($take_focus)" .IP \(bu 4 \&\f(CW$take_focus\fR (boolean) .PP Since: gtk+ 2.8 .SH PROPERTIES .IX Header "PROPERTIES" .IP "'take\-focus' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'take-focus' (boolean : default true : readable / writable / private / static-nick / static-blurb)" A boolean that determines whether the menu grabs the keyboard focus .SH SIGNALS .IX Header "SIGNALS" .IP "\fBactivate-current\fR (Gtk2::MenuShell, boolean)" 4 .IX Item "activate-current (Gtk2::MenuShell, boolean)" .PD 0 .IP "\fBcancel\fR (Gtk2::MenuShell)" 4 .IX Item "cancel (Gtk2::MenuShell)" .IP "\fBcycle-focus\fR (Gtk2::MenuShell, Gtk2::DirectionType)" 4 .IX Item "cycle-focus (Gtk2::MenuShell, Gtk2::DirectionType)" .IP "\fBdeactivate\fR (Gtk2::MenuShell)" 4 .IX Item "deactivate (Gtk2::MenuShell)" .IP "\fBinsert\fR (Gtk2::MenuShell, Gtk2::Widget, integer)" 4 .IX Item "insert (Gtk2::MenuShell, Gtk2::Widget, integer)" .IP "\fBmove-current\fR (Gtk2::MenuShell, Gtk2::MenuDirectionType)" 4 .IX Item "move-current (Gtk2::MenuShell, Gtk2::MenuDirectionType)" .IP "boolean = \fBmove-selected\fR (Gtk2::MenuShell, integer)" 4 .IX Item "boolean = move-selected (Gtk2::MenuShell, integer)" .IP "\fBselection-done\fR (Gtk2::MenuShell)" 4 .IX Item "selection-done (Gtk2::MenuShell)" .PD .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::DirectionType" .IX Subsection "enum Gtk2::DirectionType" .IP \(bu 4 \&'tab\-forward' / 'GTK_DIR_TAB_FORWARD' .IP \(bu 4 \&'tab\-backward' / 'GTK_DIR_TAB_BACKWARD' .IP \(bu 4 \&'up' / 'GTK_DIR_UP' .IP \(bu 4 \&'down' / 'GTK_DIR_DOWN' .IP \(bu 4 \&'left' / 'GTK_DIR_LEFT' .IP \(bu 4 \&'right' / 'GTK_DIR_RIGHT' .SS "enum Gtk2::MenuDirectionType" .IX Subsection "enum Gtk2::MenuDirectionType" .IP \(bu 4 \&'parent' / 'GTK_MENU_DIR_PARENT' .IP \(bu 4 \&'child' / 'GTK_MENU_DIR_CHILD' .IP \(bu 4 \&'next' / 'GTK_MENU_DIR_NEXT' .IP \(bu 4 \&'prev' / 'GTK_MENU_DIR_PREV' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container .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.