ShortcutTrigger.parseString

Tries to parse the given string into a trigger.

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

The accepted strings are:

Note that you will have to escape the < and > characters when specifying triggers in XML files, such as GtkBuilder ui files. Use &lt; instead of < and &gt; instead of >.

class ShortcutTrigger
static
parseString
(
string string_
)

Parameters

string_ string

the string to parse

Return Value

Type: gtk.shortcut_trigger.ShortcutTrigger