pub trait ContentBlockExt: 'static {
Show 17 methods
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_gicon(&self, value: &impl IsA<Icon>);
fn secondary_button(&self) -> Option<Button>;
fn set_secondary_button(&self, value: &impl IsA<Button>);
fn primary_button(&self) -> Option<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