Skip to main content

KeyIntercept

Type Alias KeyIntercept 

Source
pub type KeyIntercept = dyn FnMut(&Key, &Modifiers) -> bool;
Expand description

Signature of a pre-default key-chord interceptor. Returns true to consume the event and suppress the widget’s built-in handling for that key.