IMContext.filterKey

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

class IMContext
bool
filterKey

Parameters

press bool

whether to forward a key press or release event

surface Surface

the surface the event is for

device Device

the device that the event is for

time uint

the timestamp for the event

keycode uint

the keycode for the event

state GdkModifierType

modifier state for the event

group int

the active keyboard group for the event

Return Value

Type: bool

%TRUE if the input method handled the key event.

Meta