.\" -*- 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::MenuToolButton 3" .TH Gtk2::MenuToolButton 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::MenuToolButton \- wrapper for GtkMenuToolButton .SH HIERARCHY .IX Header "HIERARCHY" .Vb 9 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::Bin \& +\-\-\-\-Gtk2::ToolItem \& +\-\-\-\-Gtk2::ToolButton \& +\-\-\-\-Gtk2::MenuToolButton .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 3 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable \& Gtk2::Activatable .Ve .SH METHODS .IX Header "METHODS" .ie n .SS "toolitem = Gtk2::MenuToolButton\->\fBnew\fP ($icon_widget, $label)" .el .SS "toolitem = Gtk2::MenuToolButton\->\fBnew\fP ($icon_widget, \f(CW$label\fP)" .IX Subsection "toolitem = Gtk2::MenuToolButton->new ($icon_widget, $label)" .IP \(bu 4 \&\f(CW$icon_widget\fR (Gtk2::Widget or undef) .IP \(bu 4 \&\f(CW$label\fR (string or undef) .SS "toolitem = Gtk2::MenuToolButton\->\fBnew_from_stock\fP ($stock_id)" .IX Subsection "toolitem = Gtk2::MenuToolButton->new_from_stock ($stock_id)" .IP \(bu 4 \&\f(CW$stock_id\fR (string) .ie n .SS "$button\->\fBset_arrow_tooltip_markup\fP ($markup)" .el .SS "\f(CW$button\fP\->\fBset_arrow_tooltip_markup\fP ($markup)" .IX Subsection "$button->set_arrow_tooltip_markup ($markup)" .IP \(bu 4 \&\f(CW$markup\fR (string or undef) .PP Since: gtk+ 2.12 .ie n .SS "$button\->\fBset_arrow_tooltip\fP ($tooltips, $tip_text, $tip_private)" .el .SS "\f(CW$button\fP\->\fBset_arrow_tooltip\fP ($tooltips, \f(CW$tip_text\fP, \f(CW$tip_private\fP)" .IX Subsection "$button->set_arrow_tooltip ($tooltips, $tip_text, $tip_private)" .IP \(bu 4 \&\f(CW$tooltips\fR (Gtk2::Tooltips) .IP \(bu 4 \&\f(CW$tip_text\fR (string) .IP \(bu 4 \&\f(CW$tip_private\fR (string) .ie n .SS "$button\->\fBset_arrow_tooltip_text\fP ($text)" .el .SS "\f(CW$button\fP\->\fBset_arrow_tooltip_text\fP ($text)" .IX Subsection "$button->set_arrow_tooltip_text ($text)" .IP \(bu 4 \&\f(CW$text\fR (string or undef) .PP Since: gtk+ 2.12 .ie n .SS "widget or undef = $button\->\fBget_menu\fP" .el .SS "widget or undef = \f(CW$button\fP\->\fBget_menu\fP" .IX Subsection "widget or undef = $button->get_menu" .ie n .SS "$button\->\fBset_menu\fP ($menu)" .el .SS "\f(CW$button\fP\->\fBset_menu\fP ($menu)" .IX Subsection "$button->set_menu ($menu)" .IP \(bu 4 \&\f(CW$menu\fR (Gtk2::Widget or undef) .SH PROPERTIES .IX Header "PROPERTIES" .IP "'menu' (Gtk2::Menu : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'menu' (Gtk2::Menu : default undef : readable / writable / private / static-nick / static-blurb)" The dropdown menu .SH SIGNALS .IX Header "SIGNALS" .IP "\fBshow-menu\fR (Gtk2::MenuToolButton)" 4 .IX Item "show-menu (Gtk2::MenuToolButton)" .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::ToolItem, Gtk2::ToolButton .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.