ItemFactory.getItem

Warning gtk_item_factory_get_item has been deprecated since version 2.4 and should not be used in newly-written code. Use GtkUIManager instead. Obtains the menu item which corresponds to path. If the widget corresponding to path is a menu item which opens a submenu, then the item is returned. If you are interested in the submenu, use gtk_item_factory_get_widget() instead.

class ItemFactory
getItem
(
string path
)

Parameters

path string

the path to the menu item

Return Value

Type: Widget

the menu item for the given path, or NULL if path doesn't lead to a menu item. [allow-none]

Meta