gtkItemFactoryGetWidgetByAction

Description

Obtains the widget which was constructed from the GtkItemFactoryEntry with the given action. WARNING: gtk_item_factory_get_widget_by_action has been deprecated since version 2.4 and should not be used in newly-written code. Use GtkUIManager instead.

Usage

1

Arguments

object

a GtkItemFactory

action

an action as specified in the callback.action field of GtkItemFactoryEntry

Details

If there are multiple items with the same action, the result is undefined.

Value

[GtkWidget] the widget which corresponds to the given action, or NULL if no widget was found. [ allow-none ]

Author(s)

Derived by RGtkGen from GTK+ documentation

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.