[][src]Trait kas::class::HasBool

pub trait HasBool {
    pub fn get_bool(&self) -> bool;
pub fn set_bool(&mut self, state: bool) -> TkAction; }

Read / write a boolean value

The value true means checked, selected or toggled on.

Required methods

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

Get the widget's state

pub fn set_bool(&mut self, state: bool) -> TkAction[src]

Set the widget's state

Loading content...

Implementors

impl<M: 'static> HasBool for CheckBox<M>[src]

impl<M: 'static> HasBool for CheckBoxBare<M>[src]

impl<M: 'static> HasBool for MenuToggle<M>[src]

impl<M: 'static> HasBool for RadioBox<M>[src]

impl<M: 'static> HasBool for RadioBoxBare<M>[src]

impl<W: HasBool + Widget> HasBool for Frame<W>[src]

impl<W: HasBool + Widget> HasBool for MenuFrame<W>[src]

Loading content...