ShortcutAction

constructor(string: String)

Tries to parse the given string into an action.

On success, the parsed action is returned. When parsing failed, null is returned.

The accepted strings are:

  • nothing, for GtkNothingAction

  • activate, for GtkActivateAction

  • mnemonic-activate, for GtkMnemonicAction

  • action(NAME), for a GtkNamedAction for the action named NAME

  • signal(NAME), for a GtkSignalAction for the signal NAME

Return

a new GtkShortcutAction

Parameters

string

the string to parse


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)