filter_key_event


Description:

public Quark filter_key_event (uint keyval, uint modifiers, uint prev_keyval, uint prev_modifiers, void* user_data)

Emits a <constant>trigger</constant> signal when a hotkey is in a profile.

Parameters:

this

An IBusHotkeyProfile.

keyval

Keycode of the hotkey.

modifiers

Modifiers of the hotkey.

prev_keyval

Keycode of the hotkey.

prev_modifiers

Modifiers of the hotkey.

user_data

user data for signal "trigger".

Returns:

0 if releasing a hotkey and the hotkey is not in the profile; an associated event otherwise.

See also: trigger