Trait libhelium::prelude::ContentListExt

source ·
pub trait ContentListExt: IsA<ContentList> + 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 ContentList methods.

§Implementors

ContentList

Provided Methods§

source

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

Adds a new item to the content list.

§child

The item to add.

source

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

Removes an item from the content list.

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§