Gtk2::OptionMenu(3) User Contributed Perl Documentation Gtk2::OptionMenu(3)

Gtk2::OptionMenu - wrapper for GtkOptionMenu



Gtk2::OptionMenu has been marked as deprecated, and should not be used in newly written code.

You should use Gtk2::ComboBox instead of Gtk2::OptionMenu.

$option_menu->set_history ($index)

$index (integer)

$option_menu->set_menu ($menu)

$menu (Gtk2::Widget)

'menu' (Gtk2::Menu : default undef : readable / writable / private / static-nick / static-blurb)
The menu of options

'indicator-size' (Gtk2::Requisition : default undef : readable / private / static-nick / static-blurb)
Size of dropdown indicator
'indicator-spacing' (Gtk2::Border : default undef : readable / private / static-nick / static-blurb)
Spacing around indicator

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2023-07-25 perl v5.38.0