add_hotkey_from_string


Description:

public bool add_hotkey_from_string (string str, Quark event)

Adds a hotkey and its associated event to an HotkeyProfile.

The hotkey is in string format, such like <constant>Control+Shift+A</constant>.

Parameters:

this

An IBusHotkeyProfile.

str

Key in string representation. '+' is the separator.

event

The event to be associated.

Returns:

FALSE if str contains invalid symbol; TRUE otherwise.