RGtk2 (version 2.20.31)

gtkItemFactoryCreateItem: gtkItemFactoryCreateItem

Description

Creates an item for entry. WARNING: gtk_item_factory_create_item has been deprecated since version 2.4 and should not be used in newly-written code. Use GtkUIManager instead.

Usage

gtkItemFactoryCreateItem(object, entry, callback.data = NULL, callback.type)

Arguments

entry
the GtkItemFactoryEntry to create an item for
callback.data
data passed to the callback function of entry
callback.type
1 if the callback function of entry is of type GtkItemFactoryCallback1, 2 if it is of type GtkItemFactoryCallback2