Trait libhelium::prelude::SettingsRowExt

source ·
pub trait SettingsRowExt: IsA<SettingsRow> + Sealed + 'static {
Show 21 methods // Provided methods fn add(&self, child: &impl IsA<Widget>) { ... } fn title(&self) -> GString { ... } fn set_title(&self, value: &str) { ... } fn subtitle(&self) -> GString { ... } fn set_subtitle(&self, value: &str) { ... } fn icon(&self) -> GString { ... } fn set_icon(&self, value: &str) { ... } fn set_gicon(&self, value: &impl IsA<Icon>) { ... } fn set_paintable(&self, value: &impl IsA<Paintable>) { ... } fn primary_button(&self) -> Button { ... } fn set_primary_button(&self, value: &impl IsA<Button>) { ... } fn activatable_widget(&self) -> Option<Widget> { ... } fn set_activatable_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_icon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_gicon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_paintable_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_primary_button_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_activatable_widget_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all SettingsRow methods.

§Implementors

SettingsRow

Provided Methods§

source

fn add(&self, child: &impl IsA<Widget>)

Adds a new item to the SettingsRow.

§child

The item to add.

source

fn title(&self) -> GString

source

fn set_title(&self, value: &str)

source

fn subtitle(&self) -> GString

source

fn set_subtitle(&self, value: &str)

source

fn icon(&self) -> GString

source

fn set_icon(&self, value: &str)

source

fn set_gicon(&self, value: &impl IsA<Icon>)

source

fn set_paintable(&self, value: &impl IsA<Paintable>)

source

fn primary_button(&self) -> Button

source

fn set_primary_button(&self, value: &impl IsA<Button>)

source

fn activatable_widget(&self) -> Option<Widget>

source

fn set_activatable_widget(&self, value: Option<&impl IsA<Widget>>)

source

fn connect_activated<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_subtitle_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_icon_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_gicon_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_paintable_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_primary_button_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_activatable_widget_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§