w3-tools.com - Free Webmaster Tools and Resources
 
w3-tools.com - Free Webmaster Tools and Resources
 Free Webmaster Tools and Resources

 



PHP-GTK Manual

This manual is provided as a courtesy. It is not an official source. Please check gtk.php.net for updated information.

PHP-GTK Manual

PHP-GTK Manual

GtkOptionMenu

Widget used to choose from a list of valid choices.

Object Hierarchy

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

Direct subclasses

None.

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.

GtkOptionMenu has been deprecated since GTK+ 2.0 and should not be used in newly written code.

Constructor

-- 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.

Newsletter

Join to our newsletter and receive news and updates about our site.
Your name: 
E-mail address: 
Action: 
 

Hosted by

Search

Google
Web w3-tools.com

Links

  What is my IP? Find your IP address!     Valid XHTML 1.0 Transitional  
Copyright © 2006. by w3-tools.com. All rights reserved