Trait gtk4::prelude::IMContextExtManual[][src]

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

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