Trait libadwaita::prelude::PreferencesGroupExt
source · pub trait PreferencesGroupExt: IsA<PreferencesGroup> + Sealed + 'static {
// Provided methods
fn add(&self, child: &impl IsA<Widget>) { ... }
fn description(&self) -> Option<GString> { ... }
fn header_suffix(&self) -> Option<Widget> { ... }
fn title(&self) -> GString { ... }
fn remove(&self, child: &impl IsA<Widget>) { ... }
fn set_description(&self, description: Option<&str>) { ... }
fn set_header_suffix(&self, suffix: Option<&impl IsA<Widget>>) { ... }
fn set_title(&self, title: &str) { ... }
fn connect_description_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_header_suffix_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
sourcefn description(&self) -> Option<GString>
fn description(&self) -> Option<GString>
sourcefn header_suffix(&self) -> Option<Widget>
fn header_suffix(&self) -> Option<Widget>
Available on crate feature
v1_1
only.sourcefn set_description(&self, description: Option<&str>)
fn set_description(&self, description: Option<&str>)
sourcefn set_header_suffix(&self, suffix: Option<&impl IsA<Widget>>)
fn set_header_suffix(&self, suffix: Option<&impl IsA<Widget>>)
Available on crate feature
v1_1
only.Sets the suffix for @self’s header.
Displayed above the list, next to the title and description.
Suffixes are commonly used to show a button or a spinner for the whole group.
§suffix
the suffix to set
fn connect_description_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
sourcefn connect_header_suffix_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_header_suffix_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v1_1
only.fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Object Safety§
This trait is not object safe.