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

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

Trait for change messages.

Required methods

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

Gets menu's window

pub 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

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

Checks if window is shown

pub fn hide(&self)[src]

Hides window

pub 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, J, L, K> Inputable for Input4<I, J, L, K> where
    I: InputExt + WidgetBase,
    J: InputExt + WidgetBase,
    L: InputExt + WidgetBase,
    K: InputExt + WidgetBase
[src]

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

Loading content...