Virtual Method

GtkActionGroupget_action

deprecated: 3.10 since: 2.4

Declaration [src]

GtkAction*
get_action (
  GtkActionGroup* action_group,
  const gchar* action_name
)

Description [src]

Looks up an action in the action group by name.

Available since: 2.4

Deprecated since: 3.10

Please do not use it in newly written code.

Parameters

action_name

Type: const gchar*

The name of the action.

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, or NULL if no action by that name exists.

The returned data is owned by the instance.