Trait libhelium::prelude::SwitchBarExt

source ·
pub trait SwitchBarExt: IsA<SwitchBar> + Sealed + 'static {
    // Provided methods
    fn title(&self) -> GString { ... }
    fn set_title(&self, value: &str) { ... }
    fn subtitle(&self) -> GString { ... }
    fn set_subtitle(&self, value: &str) { ... }
    fn sensitive_widget(&self) -> Option<Widget> { ... }
    fn set_sensitive_widget(&self, value: Option<&impl IsA<Widget>>) { ... }
    fn connect_activated<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
    fn connect_title_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_subtitle_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_sensitive_widget_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all SwitchBar methods.

§Implementors

SwitchBar

Provided Methods§

source

fn title(&self) -> GString

source

fn set_title(&self, value: &str)

source

fn subtitle(&self) -> GString

source

fn set_subtitle(&self, value: &str)

source

fn sensitive_widget(&self) -> Option<Widget>

source

fn set_sensitive_widget(&self, value: Option<&impl IsA<Widget>>)

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<SwitchBar>> SwitchBarExt for O