Trait libhelium::prelude::ContentBlockImageClusterExt
source · [−]pub trait ContentBlockImageClusterExt: 'static {
fn title(&self) -> Option<GString>;
fn set_title(&self, value: &str);
fn subtitle(&self) -> Option<GString>;
fn set_subtitle(&self, value: &str);
fn icon(&self) -> Option<GString>;
fn set_icon(&self, value: &str);
fn set_image(
&self,
image: &impl IsA<ContentBlockImage>,
position: ContentBlockImageClusterImagePosition
);
fn remove_image(&self, image: &impl IsA<ContentBlockImage>);
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;
}