Trait ToggleButtonExt

Source
pub trait ToggleButtonExt: 'static {
Show 13 methods // Required methods fn get_active(&self) -> bool; fn get_inconsistent(&self) -> bool; fn get_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 get_property_draw_indicator(&self) -> bool; fn set_property_draw_indicator(&self, draw_indicator: bool); fn connect_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_property_active_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_draw_indicator_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_inconsistent_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_active(&self) -> bool

Source

fn get_inconsistent(&self) -> bool

Source

fn get_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 get_property_draw_indicator(&self) -> bool

Source

fn set_property_draw_indicator(&self, draw_indicator: bool)

Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§