pub trait ButtonExt: 'static {
fn color(&self) -> Colors;
fn set_color(&self, value: Colors);
fn icon(&self) -> Option<GString>;
fn set_icon(&self, value: &str);
fn connect_color_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_icon_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Trait containing all Button
methods.
Implementors
Button
, Chip
, DisclosureButton
, FillButton
, IconicButton
, OutlineButton
, PillButton
, TextButton
, TintButton