Trait booklibrs::change::Inputable[][src]

pub trait Inputable {
    fn get_wind(&self) -> &Rc<RefCell<SingleWindow>>;
fn set_input(&mut self) -> Result<Vec<String>, ()>; fn shown(&self) -> bool { ... }
fn hide(&self) { ... }
fn show(&self) { ... } }

Trait for change messages.

Required methods

fn get_wind(&self) -> &Rc<RefCell<SingleWindow>>[src]

Gets menu’s window

fn set_input(&mut self) -> Result<Vec<String>, ()>[src]

Returns input by vector of strings if everything is ok else it returns error

Loading content...

Provided methods

fn shown(&self) -> bool[src]

Checks if window is shown

fn hide(&self)[src]

Hides window

fn show(&self)[src]

Shows window

Loading content...

Implementors

impl<I, J> Inputable for Input2<I, J> where
    I: InputExt + WidgetBase,
    J: InputExt + WidgetBase
[src]

impl<I, J, L> Inputable for Input3<I, J, L> where
    I: InputExt + WidgetBase,
    J: InputExt + WidgetBase,
    L: InputExt + WidgetBase
[src]

impl<I: InputExt + WidgetBase> Inputable for Input1<I>[src]

Loading content...