Webhosting and cheap domain registration service
  

 Home

GTK Classes
Prev GtkMenuItem Next

GtkMenuItem

Widget used for item in menus.

Object Hierarchy

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

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.


Prev Home Next
GtkMenuBar::set_shadow_type Up GtkMenuItem Constructor

 

  

Network sites:

Cheap domain registrar's cheap domain registration service

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

 
 
Quotes:
As the ostrich when pursued hideth his head, but forgetteth his body; so the fears of a coward expose him to danger.No man likes to have his intelligence or good faith questioned, especially if he has doubts about it himself.  
 
 

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