1Gtk2::OptionMenu(3) User Contributed Perl Documentation Gtk2::OptionMenu(3)
2
3
4
6 Gtk2::OptionMenu
7
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
19 Glib::Object::_Unregistered::AtkImplementorIface
20 Gtk2::Buildable
21 Glib::Object::_Unregistered::GtkActivatable
22
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
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
41 'menu' (Gtk2::Menu : readable / writable / private)
42 The menu of options
43
45 changed (Gtk2::OptionMenu)
46
48 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
49 Gtk2::Container, Gtk2::Bin, Gtk2::Button
50
52 Copyright (C) 2003-2008 by the gtk2-perl team.
53
54 This software is licensed under the LGPL. See Gtk2 for a full notice.
55
56
57
58perl v5.12.0 2010-05-02 Gtk2::OptionMenu(3)