Method

GtkUIManagerget_action

deprecated: 3.10 since: 2.4

Declaration [src]

GtkAction*
gtk_ui_manager_get_action (
  GtkUIManager* manager,
  const gchar* path
)

Description [src]

Looks up an action by following a path. See gtk_ui_manager_get_widget() for more information about paths.

Available since: 2.4

Deprecated since: 3.10

Please do not use it in newly written code.

Parameters

path

Type: const gchar*

A path.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: GtkAction

The action whose proxy widget is found by following the path, or NULL if no widget was found.

The returned data is owned by the instance.