Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

GtkItemFactory

GtkItemFactory


Description

A factory for menus

Methods and Functions

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)

Hierarchy

GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkItemFactory

Detailed Description

As of GTK+ 2.4, GtkItemFactory has been deprecated in favour of GtkUIManager.

Structures

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.

Convenient Construction

gtkItemFactory is the equivalent of gtkItemFactoryNew.

User Functions

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

Author(s)

Derived by RGtkGen from GTK+ documentation

References


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.