gtkItemFactoryGetWidget {RGtk2} | R Documentation

## gtkItemFactoryGetWidget

### Description

Obtains the widget which corresponds to `path`. WARNING: `gtk_item_factory_get_widget` has been deprecated since version 2.4 and should not be used in newly-written code. Use `GtkUIManager` instead.

### Usage

    gtkItemFactoryGetWidget(object, path)

### Arguments

``object`` | a `GtkItemFactory`
``path`` | the path to the widget

### Details

If the widget corresponding to `path` is a menu item which opens a submenu, then the submenu is returned. If you are interested in the menu item, use `gtkItemFactoryGetItem` instead.

### Value

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

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]