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

GtkMenuItem

Widget used for item in menus.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkBin
                     `-- GtkItem
                            `-- GtkMenuItem

Direct subclasses

Description

A GtkMenuItem is a container widget that can be packed into a GtkMenu or GtkMenuBar, containing a GtkAccelLabel and capable of being associated with a submenu.

Constructor

GtkMenuItem ([string label ]);
-- Creates a menu item.

Methods

set_submenu()
  Sets a GtkMenu as submenu.
remove_submenu()
  Removes a pre-existing submenu.
set_placement()
  Toggles placement of submenu relative to parent.
configure()
  Toggles indicators.
select()
  Emits the "select" signal.
deselect()
  Emits the "deselect" signal.
activate()
  Emits the "activate" signal.
right_justify()
  Sets item to the right of a GtkMenuBar.

Signals

"activate"
  Emitted when menu item is chosen.
"activate-item"
  Fired when activate_item() is called.

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