Gio.SimpleActionGroup.lookup

### Method

# Gio SimpleActionGrouplookup

deprecated: 2.38 since: 2.28

#### Declaration

    GAction*
    g_simple_action_group_lookup (
      GSimpleActionGroup* simple,
      const gchar* action_name
    )

#### Description

Looks up the action with the name `action_name` in the group.

If no such action exists, returns `NULL`.

Available since: 2.28

Deprecated since: 2.38

Use `g_action_map_lookup_action()`

#### Parameters

`action_name`

  Type: `const gchar*`

  The name of an action.

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

#### Return value

Type: `GAction`

A `GAction`, or `NULL`.

The data is owned by the instance.