Trait libhelium::prelude::ContentBlockExt

source ·
pub trait ContentBlockExt: IsA<ContentBlock> + Sealed + 'static {
Show 17 methods // Provided methods 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 secondary_button(&self) -> Button { ... } fn set_secondary_button(&self, value: &impl IsA<Button>) { ... } fn primary_button(&self) -> Button { ... } fn set_primary_button(&self, value: &impl IsA<Button>) { ... } 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_secondary_button_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_primary_button_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all ContentBlock methods.

§Implementors

ContentBlock

Provided Methods§

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 secondary_button(&self) -> Button

source

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

source

fn primary_button(&self) -> Button

source

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

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_secondary_button_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

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

Object Safety§

This trait is not object safe.

Implementors§