pub trait ToggleButtonExt: 'static {
Show 13 methods // Required methods fn is_active(&self) -> bool; fn is_inconsistent(&self) -> bool; fn is_mode(&self) -> bool; fn set_active(&self, is_active: bool); fn set_inconsistent(&self, setting: bool); fn set_mode(&self, draw_indicator: bool); fn toggled(&self); fn draws_indicator(&self) -> bool; fn set_draw_indicator(&self, draw_indicator: bool); fn connect_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_active_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_draw_indicator_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_inconsistent_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId;
}

Required Methods§

source

fn is_active(&self) -> bool

source

fn is_inconsistent(&self) -> bool

source

fn is_mode(&self) -> bool

source

fn set_active(&self, is_active: bool)

source

fn set_inconsistent(&self, setting: bool)

source

fn set_mode(&self, draw_indicator: bool)

source

fn toggled(&self)

source

fn draws_indicator(&self) -> bool

source

fn set_draw_indicator(&self, draw_indicator: bool)

source

fn connect_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_active_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_draw_indicator_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_inconsistent_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§