pub trait IMContextExtManual {
    fn filter_keypress(&self, event: &impl AsRef<Event>) -> bool;
}
Expand description

Trait containing manually implemented methods of IMContext.

Required methods

Allow an input method to internally handle key press and release events.

If this function returns true, then no further processing should be done for this key event.

event

the key event

Returns

true if the input method handled the key event.

Implementors