ShortcutAction.this

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

  1. this(GtkShortcutAction* gtkShortcutAction, bool ownedRef)
  2. this(string string_)
    class ShortcutAction
    this
    (
    string string_
    )

Parameters

string_ string

the string to parse

Return Value

a new GtkShortcutAction or %NULL on error

Throws

ConstructionException GTK+ fails to create the object.

Meta