Trait libhelium::prelude::SettingsListExt

source ·
pub trait SettingsListExt: IsA<SettingsList> + Sealed + 'static {
    // Provided methods
    fn add(&self, child: &impl IsA<Widget>) { ... }
    fn remove(&self, child: &impl IsA<Widget>) { ... }
    fn title(&self) -> Option<GString> { ... }
    fn set_title(&self, value: Option<&str>) { ... }
    fn description(&self) -> Option<GString> { ... }
    fn set_description(&self, value: Option<&str>) { ... }
    fn connect_title_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_description_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all SettingsList methods.

§Implementors

SettingsList

Provided Methods§

source

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

Adds a new item to the SettingsList.

§child

The item to add.

source

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

Removes an item from the SettingsList.

Since: 1.0

§child

The item to remove.

source

fn title(&self) -> Option<GString>

source

fn set_title(&self, value: Option<&str>)

source

fn description(&self) -> Option<GString>

source

fn set_description(&self, value: Option<&str>)

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§