ShortcutAction
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
, forGtkNothingAction
activate
, forGtkActivateAction
mnemonic-activate
, forGtkMnemonicAction
action(NAME)
, for aGtkNamedAction
for the action namedNAME
signal(NAME)
, for aGtkSignalAction
for the signalNAME
Return
a new GtkShortcutAction
Parameters
string
the string to parse
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)