filterKey

open fun filterKey(press: Boolean, surface: <Error class: unknown class>, device: <Error class: unknown class>, time: <Error class: unknown class>, keycode: <Error class: unknown class>, state: <Error class: unknown class>, group: Int): Boolean

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

Return

true if the input method handled the key event.

Parameters

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