Trait kas_core::class::HasBool

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

Read / write a boolean value

The value true means checked, selected or toggled on.

Required Methods§

Get the widget’s state

Set the widget’s state

Implementors§