1Gtk2::MenuToolButton(3)User Contributed Perl DocumentatioGntk2::MenuToolButton(3)
2
3
4

NAME

6       Gtk2::MenuToolButton - wrapper for GtkMenuToolButton
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::ToolItem
16                                       +----Gtk2::ToolButton
17                                            +----Gtk2::MenuToolButton
18

INTERFACES

20         Glib::Object::_Unregistered::AtkImplementorIface
21         Gtk2::Buildable
22         Gtk2::Activatable
23

METHODS

25   toolitem = Gtk2::MenuToolButton->new ($icon_widget, $label)
26       •   $icon_widget (Gtk2::Widget or undef)
27
28       •   $label (string or undef)
29
30   toolitem = Gtk2::MenuToolButton->new_from_stock ($stock_id)
31       •   $stock_id (string)
32
33   $button->set_arrow_tooltip_markup ($markup)
34       •   $markup (string or undef)
35
36       Since: gtk+ 2.12
37
38   $button->set_arrow_tooltip ($tooltips, $tip_text, $tip_private)
39       •   $tooltips (Gtk2::Tooltips)
40
41       •   $tip_text (string)
42
43       •   $tip_private (string)
44
45   $button->set_arrow_tooltip_text ($text)
46       •   $text (string or undef)
47
48       Since: gtk+ 2.12
49
50   widget or undef = $button->get_menu
51   $button->set_menu ($menu)
52       •   $menu (Gtk2::Widget or undef)
53

PROPERTIES

55       'menu' (Gtk2::Menu : default undef : readable / writable / private /
56       static-nick / static-blurb)
57           The dropdown menu
58

SIGNALS

60       show-menu (Gtk2::MenuToolButton)
61

SEE ALSO

63       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
64       Gtk2::Container, Gtk2::Bin, Gtk2::ToolItem, Gtk2::ToolButton
65
67       Copyright (C) 2003-2011 by the gtk2-perl team.
68
69       This software is licensed under the LGPL.  See Gtk2 for a full notice.
70
71
72
73perl v5.34.0                      2022-01-21           Gtk2::MenuToolButton(3)
Impressum