pub trait OverlayButtonExt: 'static {
Show 26 methods
fn size(&self) -> OverlayButtonSize;
fn set_size(&self, value: OverlayButtonSize);
fn color(&self) -> Colors;
fn set_color(&self, value: Colors);
fn secondary_color(&self) -> Colors;
fn set_secondary_color(&self, value: Colors);
fn secondary_icon(&self) -> Option<GString>;
fn set_secondary_icon(&self, value: Option<&str>);
fn icon(&self) -> Option<GString>;
fn set_icon(&self, value: &str);
fn label(&self) -> Option<GString>;
fn set_label(&self, value: Option<&str>);
fn child(&self) -> Option<Widget>;
fn set_child(&self, value: Option<&impl IsA<Widget>>);
fn alignment(&self) -> OverlayButtonAlignment;
fn set_alignment(&self, value: OverlayButtonAlignment);
fn connect_clicked<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_secondary_clicked<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_color_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_secondary_color_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_secondary_icon_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_icon_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_child_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_alignment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description