Gio.ActionMap.prototype.lookup_action

function lookup_action(action_name: String): Gio.Action {
    // Gjs wrapper for g_action_map_lookup_action()
}
  

Looks up the action with the name action_name in action_map.

If no such action exists, returns null.

Since 2.32

action_name

the name of an action

Returns

a Gio.Action, or null