filter_key


Description:

public bool filter_key (bool press, Surface surface, Device device, uint32 time, uint keycode, ModifierType state, int group)

Allow an input method to forward key press and release events to another input method without necessarily having a `GdkEvent` available.

Parameters:

this

a `GtkIMContext`

press

whether to forward a key press or release event

surface

the surface the event is for

device

the device that the event is for

time

the timestamp for the event

keycode

the keycode for the event

state

modifier state for the event

group

the active keyboard group for the event

Returns:

true if the input method handled the key event.