   #home GTK Classes destroy GtkOptionMenu Constructor

         GTK Classes
   Prev  GtkOptionMenu  Next
     _________________________________________________________________

GtkOptionMenu

     Widget used to choose from a list of valid choices.

Object Hierarchy

   GtkObject
   `-- GtkWidget
         `-- GtkContainer
               `-- GtkBin
                     `-- GtkButton
                           `-- GtkOptionMenu

Description

     A GtkOptionMenu consists of a button containing a label, with an
     indicator tab to the right.

     The GtkMenu currently associated with the option menu pops up in a
     similar area to that which would be taken up by a dropdown menu.
     This is, however, a popup menu; if you need a dropdown list widget,
     take a look at GtkCombo.

Constructor

   GtkOptionMenu (void);

     -- Creates a popup menu linked to a button.

Methods

   get_menu()
     Retrieves current menu.

   set_menu()
     Sets associated menu.

   remove_menu()
     Removes existing menu.

   set_history()
     Sets button text to that of designated GtkMenuItem.
     _________________________________________________________________

   Prev     Home                       Next
   destroy   Up   GtkOptionMenu Constructor
