Trait libadwaita::prelude::PreferencesGroupExt
source · pub trait PreferencesGroupExt: 'static {
// Required 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;
}
Required Methods§
fn add(&self, child: &impl IsA<Widget>)
fn description(&self) -> Option<GString>
sourcefn header_suffix(&self) -> Option<Widget>
fn header_suffix(&self) -> Option<Widget>
Available on crate feature
v1_1
only.fn title(&self) -> GString
fn remove(&self, child: &impl IsA<Widget>)
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.fn set_title(&self, title: &str)
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.