NamedAction

class NamedAction(**properties: Any)

Superclasses: ShortcutAction, Object

A GtkShortcutAction that activates an action by name.

Constructors

class NamedAction
classmethod new(name: str) NamedAction

Creates an action that when activated, activates the named action on the widget.

It also passes the given arguments to it.

See insert_action_group for how to add actions to widgets.

Parameters:

name – the detailed name of the action

Methods

class NamedAction
get_action_name() str

Returns the name of the action that will be activated.

Properties

class NamedAction
props.action_name: str

The name of the action to activate.