gtk-sharp0.0.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.A factory for menus.Gtk.ObjectGLib.IWrapperSystem.IDisposableMethodSystem.StringIf has been created by an item factory, returns the full path to it.
A .
The full path to if it has been created by an item factory, otherwise. This value is owned by GTK+ and must not be modified or freed.
The full path of a is the concatenation of the factory path specified in with the path specified in the from which the was created.
MethodGtk.ItemFactoryObtains the item factory from which a was created.
A .
The item factory from which was created, or .MethodSystem.IntPtrObtains the which was passed to .
A .
associated with the item factory from which was created, or if wasn't created by an item factory.
This data is available until the menu is popped down again.
MethodSystem.VoidInstalls an accelerator for in , that causes the activate event to be emitted it the accelerator is activated.
Widget to install an accelerator on.
The full path for the .
The accelerator group to install the accelerator in.
Key value of the accelerator.
Modifier combination of the acelerator.
This method can be used to make widgets participate in the accel saving/restoring functionality provided by and , even if they haven't been created by an item factory. The recommended API for this purpose are the and ; don't use in new code, since it is likely to be removed in the future.
MethodSystem.VoidDeletes the menu items which were created from the entries by the given item factory.
The length of .
An array of s.
MethodGtk.WidgetObtains the menu item which correponds to .
To be added: an object of type 'uint'
To be added: an object of type 'Gtk.Widget'To be addedMethodSystem.VoidInitializes a item factory.
The kind of menu to create, an object of type 'uint'.
The factory path of , a string of the form "name".
A to which the accelerators for the menu items will be added, or to create a new one.
MethodSystem.VoidDeletes the menu item which was created from by the given item factory.
A .
MethodSystem.VoidCreates an item for .
The to create an item for.
Data passed to the callback method of .
1 if the callback method of is of type , 2 if it is of type .
MethodGtk.WidgetObtains the which corresponds to .
To be added: an object of type 'uint'
To be added: an object of type 'Gtk.Widget'To be addedMethodGtk.WidgetObtains the menu item which corresponds to .
The path to the menu item.
The menu item for the given path, or if doesn't lead to a menu item.
If the corresponding to is a menu item which opens a submenum, then the item is returned. If you are interested in the submenum, use instead.
MethodSystem.VoidDeletes the menu item which was created for by the given item factory.
A path.
MethodSystem.IntPtrObtains the which was passed to . associated.
This data is available until the menu is popped down again.
MethodSystem.VoidCreates the menu items from the .
The length of .
An array of s whose members must be of type .
Data passed to the callback methods of all entries.
MethodGtk.WidgetObtains the which corresponds to .
The path to the .
The for the given path, or if doesn't lead to a .
If the corresponding to is a menu item which opens a submenu, then the submenu is returned. If you are interested in the menu item, use instead.
MethodSystem.VoidSets a method to be used for translating the path elements before they are displayed.
The delegate to be used to traslate path elements.
Data to pass to and .
A delegate to be called when the object is destroyed and when the translation is changed again.
MethodSystem.VoidDisposes the resources associated with the object.ConstructorInternal constructor
Pointer to the C object.
An instance of ItemFactory, wrapping the C object.This is an internal constructor, and should not be used by user code.ConstructorA constructor.
To be added: an object of type 'uint'
A new instance of .ConstructorInternal constructor.An instance of .This is an internal constructor, and should not be used by user code.PropertySystem.UInt32The GLib Type for Gtk.ItemFactoryThe GLib Type for the Gtk.ItemFactory class.ConstructorInternal constructor
GLib type for the type
Creates a new instance of ItemFactory, using the GLib-provided typeThis is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code.MethodSystem.VoidPops up the menu constructed form the item factory at (, ).
Data available for callbacks while the menu is posted.
A to be called on when the menu is unposted.
The x position.
The y position.
The mouse button which was pressed to initiate the popup.
The time at which the activation event ocurred.
Callbacks can access the while the menu is posted via and .
The should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, should be 0.
The should be the time stamp of the event that initiated the popup. If such a event is not available, use instead.
The operation of the and the is the same as the and for .
MethodSystem.VoidPops up the menu constructed form the item factory at (, ).
The x position.
The y position.
The mouse button which was pressed to initiate the popup.
The time at which the activation event ocurred.
The should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, should be 0.
The should be the time stamp of the event that initiated the popup. If such a event is not available, use instead.
The operation of the and the is the same as the and for .