Allow an input method to forward key press and release events to another input method without necessarily having a `GdkEvent` available.
| 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 |
|
true if the input method handled the key event. |