.\" -*- 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::ToolItem 3" .TH Gtk2::ToolItem 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::ToolItem \- wrapper for GtkToolItem .SH HIERARCHY .IX Header "HIERARCHY" .Vb 7 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::Bin \& +\-\-\-\-Gtk2::ToolItem .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 3 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable \& Gtk2::Activatable .Ve .SH METHODS .IX Header "METHODS" .SS "toolitem = Gtk2::ToolItem\->\fBnew\fP" .IX Subsection "toolitem = Gtk2::ToolItem->new" .ie n .SS "ellipsizemode = $tool_item\->\fBget_ellipsize_mode\fP" .el .SS "ellipsizemode = \f(CW$tool_item\fP\->\fBget_ellipsize_mode\fP" .IX Subsection "ellipsizemode = $tool_item->get_ellipsize_mode" Since: gtk+ 2.20 .ie n .SS "boolean = $tool_item\->\fBget_expand\fP" .el .SS "boolean = \f(CW$tool_item\fP\->\fBget_expand\fP" .IX Subsection "boolean = $tool_item->get_expand" .ie n .SS "$tool_item\->\fBset_expand\fP ($expand)" .el .SS "\f(CW$tool_item\fP\->\fBset_expand\fP ($expand)" .IX Subsection "$tool_item->set_expand ($expand)" .IP \(bu 4 \&\f(CW$expand\fR (boolean) .ie n .SS "boolean = $tool_item\->\fBget_homogeneous\fP" .el .SS "boolean = \f(CW$tool_item\fP\->\fBget_homogeneous\fP" .IX Subsection "boolean = $tool_item->get_homogeneous" .ie n .SS "$tool_item\->\fBset_homogeneous\fP ($homogeneous)" .el .SS "\f(CW$tool_item\fP\->\fBset_homogeneous\fP ($homogeneous)" .IX Subsection "$tool_item->set_homogeneous ($homogeneous)" .IP \(bu 4 \&\f(CW$homogeneous\fR (boolean) .ie n .SS "iconsize = $tool_item\->\fBget_icon_size\fP" .el .SS "iconsize = \f(CW$tool_item\fP\->\fBget_icon_size\fP" .IX Subsection "iconsize = $tool_item->get_icon_size" .ie n .SS "boolean = $tool_item\->\fBget_is_important\fP" .el .SS "boolean = \f(CW$tool_item\fP\->\fBget_is_important\fP" .IX Subsection "boolean = $tool_item->get_is_important" .ie n .SS "$tool_item\->\fBset_is_important\fP ($is_important)" .el .SS "\f(CW$tool_item\fP\->\fBset_is_important\fP ($is_important)" .IX Subsection "$tool_item->set_is_important ($is_important)" .IP \(bu 4 \&\f(CW$is_important\fR (boolean) .ie n .SS "orientation = $tool_item\->\fBget_orientation\fP" .el .SS "orientation = \f(CW$tool_item\fP\->\fBget_orientation\fP" .IX Subsection "orientation = $tool_item->get_orientation" .ie n .SS "widget = $tool_item\->\fBget_proxy_menu_item\fP ($menu_item_id)" .el .SS "widget = \f(CW$tool_item\fP\->\fBget_proxy_menu_item\fP ($menu_item_id)" .IX Subsection "widget = $tool_item->get_proxy_menu_item ($menu_item_id)" .IP \(bu 4 \&\f(CW$menu_item_id\fR (string) .ie n .SS "$tool_item\->\fBset_proxy_menu_item\fP ($menu_item_id, $menu_item)" .el .SS "\f(CW$tool_item\fP\->\fBset_proxy_menu_item\fP ($menu_item_id, \f(CW$menu_item\fP)" .IX Subsection "$tool_item->set_proxy_menu_item ($menu_item_id, $menu_item)" .IP \(bu 4 \&\f(CW$menu_item_id\fR (string) .IP \(bu 4 \&\f(CW$menu_item\fR (Gtk2::Widget or undef) .ie n .SS $tool_item\->\fBrebuild_menu\fP .el .SS \f(CW$tool_item\fP\->\fBrebuild_menu\fP .IX Subsection "$tool_item->rebuild_menu" Since: gtk+ 2.6 .ie n .SS "reliefstyle = $tool_item\->\fBget_relief_style\fP" .el .SS "reliefstyle = \f(CW$tool_item\fP\->\fBget_relief_style\fP" .IX Subsection "reliefstyle = $tool_item->get_relief_style" .ie n .SS "widget = $tool_item\->\fBretrieve_proxy_menu_item\fP" .el .SS "widget = \f(CW$tool_item\fP\->\fBretrieve_proxy_menu_item\fP" .IX Subsection "widget = $tool_item->retrieve_proxy_menu_item" .ie n .SS "double = $tool_item\->\fBget_text_alignment\fP" .el .SS "double = \f(CW$tool_item\fP\->\fBget_text_alignment\fP" .IX Subsection "double = $tool_item->get_text_alignment" Since: gtk+ 2.20 .ie n .SS "orientation = $tool_item\->\fBget_text_orientation\fP" .el .SS "orientation = \f(CW$tool_item\fP\->\fBget_text_orientation\fP" .IX Subsection "orientation = $tool_item->get_text_orientation" Since: gtk+ 2.20 .ie n .SS "sizegroup = $tool_item\->\fBget_text_size_group\fP" .el .SS "sizegroup = \f(CW$tool_item\fP\->\fBget_text_size_group\fP" .IX Subsection "sizegroup = $tool_item->get_text_size_group" Since: gtk+ 2.20 .ie n .SS $tool_item\->\fBtoolbar_reconfigured\fP .el .SS \f(CW$tool_item\fP\->\fBtoolbar_reconfigured\fP .IX Subsection "$tool_item->toolbar_reconfigured" Since: gtk+ 2.14 .ie n .SS "toolbarstyle = $tool_item\->\fBget_toolbar_style\fP" .el .SS "toolbarstyle = \f(CW$tool_item\fP\->\fBget_toolbar_style\fP" .IX Subsection "toolbarstyle = $tool_item->get_toolbar_style" .ie n .SS "$tool_item\->\fBset_tooltip_markup\fP ($markup)" .el .SS "\f(CW$tool_item\fP\->\fBset_tooltip_markup\fP ($markup)" .IX Subsection "$tool_item->set_tooltip_markup ($markup)" .IP \(bu 4 \&\f(CW$markup\fR (string or undef) .PP Since: gtk+ 2.12 .ie n .SS "$tool_item\->\fBset_tooltip\fP ($tooltips, $tip_text, $tip_private)" .el .SS "\f(CW$tool_item\fP\->\fBset_tooltip\fP ($tooltips, \f(CW$tip_text\fP, \f(CW$tip_private\fP)" .IX Subsection "$tool_item->set_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 "$tool_item\->\fBset_tooltip_text\fP ($text)" .el .SS "\f(CW$tool_item\fP\->\fBset_tooltip_text\fP ($text)" .IX Subsection "$tool_item->set_tooltip_text ($text)" .IP \(bu 4 \&\f(CW$text\fR (string or undef) .PP Since: gtk+ 2.12 .ie n .SS "boolean = $toolitem\->\fBget_use_drag_window\fP" .el .SS "boolean = \f(CW$toolitem\fP\->\fBget_use_drag_window\fP" .IX Subsection "boolean = $toolitem->get_use_drag_window" .ie n .SS "$toolitem\->\fBset_use_drag_window\fP ($use_drag_window)" .el .SS "\f(CW$toolitem\fP\->\fBset_use_drag_window\fP ($use_drag_window)" .IX Subsection "$toolitem->set_use_drag_window ($use_drag_window)" .IP \(bu 4 \&\f(CW$use_drag_window\fR (boolean) .ie n .SS "boolean = $toolitem\->\fBget_visible_horizontal\fP" .el .SS "boolean = \f(CW$toolitem\fP\->\fBget_visible_horizontal\fP" .IX Subsection "boolean = $toolitem->get_visible_horizontal" .ie n .SS "$toolitem\->\fBset_visible_horizontal\fP ($visible_horizontal)" .el .SS "\f(CW$toolitem\fP\->\fBset_visible_horizontal\fP ($visible_horizontal)" .IX Subsection "$toolitem->set_visible_horizontal ($visible_horizontal)" .IP \(bu 4 \&\f(CW$visible_horizontal\fR (boolean) .ie n .SS "boolean = $toolitem\->\fBget_visible_vertical\fP" .el .SS "boolean = \f(CW$toolitem\fP\->\fBget_visible_vertical\fP" .IX Subsection "boolean = $toolitem->get_visible_vertical" .ie n .SS "$toolitem\->\fBset_visible_vertical\fP ($visible_vertical)" .el .SS "\f(CW$toolitem\fP\->\fBset_visible_vertical\fP ($visible_vertical)" .IX Subsection "$toolitem->set_visible_vertical ($visible_vertical)" .IP \(bu 4 \&\f(CW$visible_vertical\fR (boolean) .SH PROPERTIES .IX Header "PROPERTIES" .IP "'is\-important' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'is-important' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode .IP "'visible\-horizontal' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'visible-horizontal' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether the toolbar item is visible when the toolbar is in a horizontal orientation. .IP "'visible\-vertical' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'visible-vertical' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether the toolbar item is visible when the toolbar is in a vertical orientation. .SH SIGNALS .IX Header "SIGNALS" .IP "boolean = \fBcreate-menu-proxy\fR (Gtk2::ToolItem)" 4 .IX Item "boolean = create-menu-proxy (Gtk2::ToolItem)" .PD 0 .IP "boolean = \fBset-tooltip\fR (Gtk2::ToolItem, Gtk2::Tooltips, string, string)" 4 .IX Item "boolean = set-tooltip (Gtk2::ToolItem, Gtk2::Tooltips, string, string)" .IP "\fBtoolbar-reconfigured\fR (Gtk2::ToolItem)" 4 .IX Item "toolbar-reconfigured (Gtk2::ToolItem)" .PD .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::IconSize" .IX Subsection "enum Gtk2::IconSize" .IP \(bu 4 \&'invalid' / 'GTK_ICON_SIZE_INVALID' .IP \(bu 4 \&'menu' / 'GTK_ICON_SIZE_MENU' .IP \(bu 4 \&'small\-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR' .IP \(bu 4 \&'large\-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR' .IP \(bu 4 \&'button' / 'GTK_ICON_SIZE_BUTTON' .IP \(bu 4 \&'dnd' / 'GTK_ICON_SIZE_DND' .IP \(bu 4 \&'dialog' / 'GTK_ICON_SIZE_DIALOG' .SS "enum Gtk2::Orientation" .IX Subsection "enum Gtk2::Orientation" .IP \(bu 4 \&'horizontal' / 'GTK_ORIENTATION_HORIZONTAL' .IP \(bu 4 \&'vertical' / 'GTK_ORIENTATION_VERTICAL' .SS "enum Gtk2::ReliefStyle" .IX Subsection "enum Gtk2::ReliefStyle" .IP \(bu 4 \&'normal' / 'GTK_RELIEF_NORMAL' .IP \(bu 4 \&'half' / 'GTK_RELIEF_HALF' .IP \(bu 4 \&'none' / 'GTK_RELIEF_NONE' .SS "enum Gtk2::ToolbarStyle" .IX Subsection "enum Gtk2::ToolbarStyle" .IP \(bu 4 \&'icons' / 'GTK_TOOLBAR_ICONS' .IP \(bu 4 \&'text' / 'GTK_TOOLBAR_TEXT' .IP \(bu 4 \&'both' / 'GTK_TOOLBAR_BOTH' .IP \(bu 4 \&'both\-horiz' / 'GTK_TOOLBAR_BOTH_HORIZ' .SS "enum Pango::EllipsizeMode" .IX Subsection "enum Pango::EllipsizeMode" .IP \(bu 4 \&'none' / 'PANGO_ELLIPSIZE_NONE' .IP \(bu 4 \&'start' / 'PANGO_ELLIPSIZE_START' .IP \(bu 4 \&'middle' / 'PANGO_ELLIPSIZE_MIDDLE' .IP \(bu 4 \&'end' / 'PANGO_ELLIPSIZE_END' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin .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.