pub trait SwitchExt: IsA<Switch> + Sealed + 'static {
// Provided methods
fn left_icon(&self) -> GString { ... }
fn set_left_icon(&self, value: &str) { ... }
fn right_icon(&self) -> GString { ... }
fn set_right_icon(&self, value: &str) { ... }
fn connect_left_icon_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_right_icon_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn left_icon(&self) -> GString
fn set_left_icon(&self, value: &str)
fn right_icon(&self) -> GString
fn set_right_icon(&self, value: &str)
fn connect_left_icon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_right_icon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.