Gtk2::OptionMenu(3pm)

Gtk2::OptionMenu3pm

Wrapper for gtkoptionmenu

Hierarchy

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::Button
                                +----Gtk2::OptionMenu

Interfaces

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable
  Gtk2::Activatable

Deprecation warning

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.

Methods

widget = Gtk2::OptionMenu->new

integer = $option_menu->get_history

$option_menu->set_history ($index)

•

$index (integer)

widget = $option_menu->get_menu

$option_menu->set_menu ($menu)

•

$menu (Gtk2::Widget)

$option_menu->remove_menu

Properties

'menu' (Gtk2::Menu : default undef : readable / writable / private)

The menu of options

Style properties

'indicator-size' (Gtk2::Requisition : default undef : readable / private)

Size of dropdown indicator

'indicator-spacing' (Gtk2::Border : default undef : readable / private)

Spacing around indicator

Signals

changed (Gtk2::OptionMenu)

Releases

7 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 9
  7. 10

From libgtk2-perl-doc 2:1.24992-1 in Debian 10 (Buster). Parsed by carta from the page's man source.