gtk.OptionMenu — a widget used to provide a list of valid choices.
| class gtk.OptionMenu(gtk.Button): | 
+--gobject.GObject +-- gtk.Object +-- gtk.Widget +-- gtk.Container +-- gtk.Bin +-- gtk.Button +-- gtk.OptionMenu
| 
 | 
gtk.Container Signal Prototypes
| "changed" |     def callback( | 
gtk.OptionMenu
is deprecated in PyGTK 2.4; use the gtk.ComboBox
instead.
A gtk.OptionMenu
is a widget allows the user to choose from a list of valid choices from an
associated menu. The gtk.OptionMenu
displays the last selected choice. When activated (clicked) the gtk.OptionMenu
displays a popup gtk.Menu which allows
the user to make a new choice. Using a gtk.OptionMenu
is simple:
gtk.Menu using gtk.Menu()gtk.MenuShell.append()set_menu()set_history()get_history().    def get_menu()| Returns : | a menu widget or Noneif no
menu is associated | 
The get_menu() method returns the menu
that is associated with the optionmenu or None if no menu
is associated.
    def set_menu(menu)| 
 | a menu to be associated with the optionmenu | 
The set_menu() method associates the
gtk.Menu widget
specified by menu with the optionmenu thus providing
the way for a user to select a new choice. A simple menu, avoiding the use
of tearoff menu items, submenus, and accelerators, should be used.
    def remove_menu()The remove_menu() method removes the
currently associated menu from the optionmenu.
    def callback(optionmenu, user_param1, ...)| 
 | the optionmenu that received the signal | 
| 
 | the first user parameter (if any) specified
with the connect() | 
| 
 | additional user parameters (if any) | 
The "changed" signal is emitted when a new optionmenu choice is made.