Skip to main content

OnKeyPressed

Trait OnKeyPressed 

Source
pub trait OnKeyPressed {
    // Provided method
    fn on_key_pressed(
        &mut self,
        _key: Key,
        _character: char,
    ) -> EventProcessStatus { ... }
}

Provided Methods§

Source

fn on_key_pressed(&mut self, _key: Key, _character: char) -> EventProcessStatus

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl OnKeyPressed for Accordion

Source§

impl OnKeyPressed for Button

Source§

impl OnKeyPressed for Canvas

Source§

impl OnKeyPressed for CharPicker

Source§

impl OnKeyPressed for CheckBox

Source§

impl OnKeyPressed for ColorPicker

Source§

impl OnKeyPressed for ComboBox

Source§

impl OnKeyPressed for ControlBase

Source§

impl OnKeyPressed for DatePicker

Source§

impl OnKeyPressed for Desktop

Source§

impl OnKeyPressed for HLine

Source§

impl OnKeyPressed for HSplitter

Source§

impl OnKeyPressed for ImageViewer

Source§

impl OnKeyPressed for KeySelector

Source§

impl OnKeyPressed for Label

Source§

impl OnKeyPressed for ListBox

Source§

impl OnKeyPressed for Markdown

Source§

impl OnKeyPressed for Panel

Source§

impl OnKeyPressed for Password

Source§

impl OnKeyPressed for PathFinder

Source§

impl OnKeyPressed for ProgressBar

Source§

impl OnKeyPressed for RadioBox

Source§

impl OnKeyPressed for RichTextField

Source§

impl OnKeyPressed for Tab

Source§

impl OnKeyPressed for TextArea

Source§

impl OnKeyPressed for TextField

Source§

impl OnKeyPressed for ThreeStateBox

Source§

impl OnKeyPressed for TimePicker

Source§

impl OnKeyPressed for ToggleButton

Source§

impl OnKeyPressed for VLine

Source§

impl OnKeyPressed for VSplitter

Source§

impl OnKeyPressed for Window

Source§

impl<T: 'static> OnKeyPressed for ModalWindow<T>

Source§

impl<T> OnKeyPressed for DropDownList<T>

Source§

impl<T> OnKeyPressed for GraphView<T>
where T: GraphNode,

Source§

impl<T> OnKeyPressed for ListView<T>
where T: ListItem + 'static,

Source§

impl<T> OnKeyPressed for NumericSelector<T>
where T: Number + FromStr + 'static,

Source§

impl<T> OnKeyPressed for Selector<T>
where T: EnumSelector + Copy + Eq,

Source§

impl<T> OnKeyPressed for TreeView<T>
where T: ListItem + 'static,