[][src]Trait orbtk::api::KeyDownHandler

pub trait KeyDownHandler: Widget {
    fn on_key_down<H>(self, handler: H) -> Self
    where
        H: 'static + Fn(KeyEvent) -> bool
, { ... } }

Provided methods

fn on_key_down<H>(self, handler: H) -> Self where
    H: 'static + Fn(KeyEvent) -> bool

Inserts a handler.

Loading content...

Implementors

impl KeyDownHandler for TextBox

Loading content...