Class GTK2.OptionMenu

Inheritance graph
Description

A OptionMenu is a widget that allows the user to choose from a list of valid choices. The OptionMenu displays the selected choice. When activated the OptionMenu displays a popup W(Menu) which allows the user to make a new choice.

 GTK2.OptionMenu()->set_menu(GTK2.Menu()->add( GTK2.MenuItem("Option 1") ));

Properties: GTK2.Menu menu Style properties: int indicator-size int indicator-spacing

Signals: changed


Inherit Button

inherit GTK2.Button : Button


Method create

GTK2.OptionMenu GTK2.OptionMenu()

Description

Create a new option menu widget