Trait libhelium::prelude::MiniContentBlockExt
source · pub trait MiniContentBlockExt: IsA<MiniContentBlock> + Sealed + 'static {
Show 19 methods
// Provided methods
fn widget(&self) -> Option<Widget> { ... }
fn set_widget(&self, value: Option<&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 connect_widget_notify<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 { ... }
}
Expand description
Provided Methods§
fn widget(&self) -> Option<Widget>
fn set_widget(&self, value: Option<&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 connect_widget_notify<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
Object Safety§
This trait is not object safe.