Trait libadwaita::prelude::PreferencesRowExt
source · pub trait PreferencesRowExt: 'static {
// Required methods
fn title(&self) -> GString;
fn is_title_selectable(&self) -> bool;
fn uses_markup(&self) -> bool;
fn uses_underline(&self) -> bool;
fn set_title(&self, title: &str);
fn set_title_selectable(&self, title_selectable: bool);
fn set_use_markup(&self, use_markup: bool);
fn set_use_underline(&self, use_underline: bool);
fn connect_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_title_selectable_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_use_markup_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_use_underline_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods§
fn title(&self) -> GString
sourcefn is_title_selectable(&self) -> bool
fn is_title_selectable(&self) -> bool
Available on crate feature
v1_1
only.sourcefn uses_markup(&self) -> bool
fn uses_markup(&self) -> bool
Available on crate feature
v1_2
only.fn uses_underline(&self) -> bool
fn set_title(&self, title: &str)
sourcefn set_title_selectable(&self, title_selectable: bool)
fn set_title_selectable(&self, title_selectable: bool)
Available on crate feature
v1_1
only.sourcefn set_use_markup(&self, use_markup: bool)
fn set_use_markup(&self, use_markup: bool)
Available on crate feature
v1_2
only.fn set_use_underline(&self, use_underline: bool)
fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_title_selectable_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_title_selectable_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v1_1
only.sourcefn connect_use_markup_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_use_markup_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v1_2
only.