1Gtk2::OptionMenu(3)   User Contributed Perl Documentation  Gtk2::OptionMenu(3)
2
3
4

NAME

6       Gtk2::OptionMenu - wrapper for GtkOptionMenu
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::Button
16                                       +----Gtk2::OptionMenu
17

INTERFACES

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

DEPRECATION WARNING

24       Gtk2::OptionMenu has been marked as deprecated, and should not be used
25       in newly written code.
26
27       You should use Gtk2::ComboBox instead of Gtk2::OptionMenu.
28

METHODS

30   widget = Gtk2::OptionMenu->new
31   integer = $option_menu->get_history
32   $option_menu->set_history ($index)
33       ·   $index (integer)
34
35   widget = $option_menu->get_menu
36   $option_menu->set_menu ($menu)
37       ·   $menu (Gtk2::Widget)
38
39   $option_menu->remove_menu

PROPERTIES

41       'menu' (Gtk2::Menu : default undef : readable / writable / private)
42           The menu of options
43

STYLE PROPERTIES

45       'indicator-size' (Gtk2::Requisition : default undef : readable /
46       private)
47           Size of dropdown indicator
48
49       'indicator-spacing' (Gtk2::Border : default undef : readable / private)
50           Spacing around indicator
51

SIGNALS

53       changed (Gtk2::OptionMenu)
54

SEE ALSO

56       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
57       Gtk2::Container, Gtk2::Bin, Gtk2::Button
58
60       Copyright (C) 2003-2011 by the gtk2-perl team.
61
62       This software is licensed under the LGPL.  See Gtk2 for a full notice.
63
64
65
66perl v5.28.0                      2018-07-18               Gtk2::OptionMenu(3)
Impressum