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 { ... }
}
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
Object Safety§
This trait is not object safe.