Webhosting and cheap domain registration service
  

 Home

GTK Classes
Prev GtkItemFactory Next

GtkItemFactory

A factory class for simplified menu creation.

Object Hierarchy

Description

The GtkItemFactory is a class which makes it very easy to create a lot of menu items at once. It supports nested menus, shortcuts and different menu item types as well.

Constructor

GtkItemFactory (GtkType container_type, String path, GtkAccelGroup accel_group);

-- Creates a new instance of this class.

Methods

create_items()
  Creates the whole menu.
get_item()
  Obtains the menu item which corresponds to path.
get_widget()
  Obtains the widget item which corresponds to path.
get_widget_by_action()
  Obtains the widget which was constructed from the GtkItemFactoryEntry with the given action.
get_item_by_action()
  Obtains the menu item which was constructed from the first GtkItemFactoryEntry with the given action.
delete_item()
  Deletes the menu item which was created for path by the given item factory.
popup()
  Pops up the menu at (x, y).


Prev Home Next
toggle Up GtkItemFactory Constructor

 

  

Network sites:

Cheap domain registrar's cheap domain registration service

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

 
 
Quotes:
Imagination is a quality given a man to compensate him for what he is not, and a sense of humor was provided to console him for what he is.The uglier a man's legs are, the better he plays golf. It's almost a law.  
 
 

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