IMContext.filterKey
bool filterKey(bool press, gdk.surface.Surface surface, gdk.device.Device device, uint time, uint keycode, gdk.types.ModifierType state, int group)Allow an input method to forward key press and release events to another input method without necessarily having a [gdk.event.Event] available.
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 |
Returns
true if the input method handled the key event.