Trait libhelium::prelude::SwitchExt

source ·
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 { ... }
}
Expand description

Trait containing all Switch methods.

§Implementors

Switch

Provided Methods§

source

fn left_icon(&self) -> GString

source

fn set_left_icon(&self, value: &str)

source

fn right_icon(&self) -> GString

source

fn set_right_icon(&self, value: &str)

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Switch>> SwitchExt for O