1Gtk2::MenuToolButton(3)User Contributed Perl DocumentatioGntk2::MenuToolButton(3)
2
3
4
6 Gtk2::MenuToolButton - wrapper for GtkMenuToolButton
7
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
20 Glib::Object::_Unregistered::AtkImplementorIface
21 Gtk2::Buildable
22 Gtk2::Activatable
23
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
55 'menu' (Gtk2::Menu : default undef : readable / writable / private)
56 The dropdown menu
57
59 show-menu (Gtk2::MenuToolButton)
60
62 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
63 Gtk2::Container, Gtk2::Bin, Gtk2::ToolItem, Gtk2::ToolButton
64
66 Copyright (C) 2003-2011 by the gtk2-perl team.
67
68 This software is licensed under the LGPL. See Gtk2 for a full notice.
69
70
71
72perl v5.30.0 2019-07-26 Gtk2::MenuToolButton(3)