Description Methods and Functions Hierarchy Detailed Description Structures Convenient Construction User Functions Author(s) References
A factory for menus
gtkItemFactoryNew(container.type, path, accel.group = NULL)
gtkItemFactoryConstruct(object, container.type, path, accel.group)
gtkItemFactoryAddForeign(accel.widget, full.path, accel.group, keyval, modifiers)
gtkItemFactoryFromWidget(widget)
gtkItemFactoryPathFromWidget(widget)
gtkItemFactoryGetItem(object, path)
gtkItemFactoryGetWidget(object, path)
gtkItemFactoryGetWidgetByAction(object, action)
gtkItemFactoryGetItemByAction(object, action)
gtkItemFactoryCreateItem(object, entry, callback.data = NULL, callback.type)
gtkItemFactoryCreateItems(object, entries, callback.data = NULL)
gtkItemFactoryCreateItemsAc(object, entries, callback.data, callback.type)
gtkItemFactoryDeleteItem(object, path)
gtkItemFactoryDeleteEntry(object, entry)
gtkItemFactoryDeleteEntries(object, entries)
gtkItemFactoryPopup(object, x, y, mouse.button, time = "GDK_CURRENT_TIME")
gtkItemFactoryPopupWithData(object, popup.data, x, y, mouse.button, time = "GDK_CURRENT_TIME")
gtkItemFactoryPopupData(object)
gtkItemFactoryPopupDataFromWidget(widget)
gtkItemFactoryFromPath(path)
gtkItemFactoryCreateMenuEntries(entries)
gtkItemFactoriesPathDelete(ifactory.path, path)
gtkItemFactorySetTranslateFunc(object, func, data = NULL)
gtkItemFactory(container.type, path, accel.group = NULL)
1 2 3 4 | GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkItemFactory
|
As of GTK+ 2.4, GtkItemFactory
has been deprecated in favour of GtkUIManager
.
GtkItemFactory
WARNING: GtkItemFactory
is deprecated and should not be used in newly-written code.
undocumented
GtkItemFactoryEntry
WARNING: GtkItemFactoryEntry
is deprecated and should not be used in newly-written code.
undocumented
GtkItemFactoryEntry
is a transparent-type.
gtkItemFactory
is the equivalent of gtkItemFactoryNew
.
GtkPrintFunc()
undocumented
GtkTranslateFunc(path, func.data)
The function used to translate messages in e.g. GtkIconFactory
and GtkActionGroup
.
path
The id of the message. In GtkItemFactory
this will be a path
from a GtkItemFactoryEntry
, in GtkActionGroup
, it will be a label
or tooltip from a GtkActionEntry
.
func.data
user data passed in when registering the function
Returns: [character] the translated message
GtkItemFactoryCallback()
undocumented
GtkItemFactoryCallback1()
undocumented
GtkItemFactoryCallback2()
undocumented
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkItemFactory.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.