Struct libadwaita::builders::SwitchRowBuilder
source · pub struct SwitchRowBuilder { /* private fields */ }Available on crate feature
v1_4 only.Expand description
A builder-pattern type to construct SwitchRow objects.
Implementations§
source§impl SwitchRowBuilder
impl SwitchRowBuilder
pub fn active(self, active: bool) -> Self
pub fn activatable_widget(self, activatable_widget: &impl IsA<Widget>) -> Self
pub fn icon_name(self, icon_name: impl Into<GString>) -> Self
pub fn subtitle(self, subtitle: impl Into<GString>) -> Self
pub fn subtitle_lines(self, subtitle_lines: i32) -> Self
pub fn subtitle_selectable(self, subtitle_selectable: bool) -> Self
Available on crate feature
v1_3 only.pub fn title_lines(self, title_lines: i32) -> Self
pub fn title(self, title: impl Into<GString>) -> Self
pub fn title_selectable(self, title_selectable: bool) -> Self
Available on crate feature
v1_1 only.pub fn use_markup(self, use_markup: bool) -> Self
Available on crate feature
v1_2 only.