Webhosting and cheap domain registration service
  

 Home

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

 

  

Network sites:

Cheap domain registrar's cheap domain registration service

$8.95 domain registration : Buy domain name or register domain name 

 
 
Quotes:
News is what a chap who doesn't care much about anything wants to read. And it's only news until he's read it. After that it's dead.  
 
 

Disclaimer: This documentation is provided only for the benefits of our webhosting customers.
For authoritative source of the documentation, please refer to http://gtk.php.net/docs.php