Gio.SimpleActionGroup.prototype.lookup

function lookup(action_name: String): Gio.Action {
    // Gjs wrapper for g_simple_action_group_lookup()
}
  

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

If no such action exists, returns null.

Since 2.28

action_name

the name of an action

Returns

a Gio.Action, or null