Trait libhelium::prelude::OverlayButtonExt
source · pub trait OverlayButtonExt: IsA<OverlayButton> + Sealed + 'static {
Show 37 methods
// Provided methods
fn size(&self) -> OverlayButtonSize { ... }
fn set_size(&self, value: OverlayButtonSize) { ... }
fn typeb(&self) -> OverlayButtonTypeButton { ... }
fn set_typeb(&self, value: OverlayButtonTypeButton) { ... }
fn typeb2(&self) -> OverlayButtonTypeButton { ... }
fn set_typeb2(&self, value: OverlayButtonTypeButton) { ... }
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) -> GString { ... }
fn set_icon(&self, value: &str) { ... }
fn label(&self) -> Option<GString> { ... }
fn set_label(&self, value: Option<&str>) { ... }
fn primary_tooltip(&self) -> GString { ... }
fn set_primary_tooltip(&self, value: &str) { ... }
fn secondary_tooltip(&self) -> GString { ... }
fn set_secondary_tooltip(&self, value: &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_typeb_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_typeb2_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_primary_tooltip_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_secondary_tooltip_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_alignment_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
fn size(&self) -> OverlayButtonSize
fn set_size(&self, value: OverlayButtonSize)
fn typeb(&self) -> OverlayButtonTypeButton
fn set_typeb(&self, value: OverlayButtonTypeButton)
fn typeb2(&self) -> OverlayButtonTypeButton
fn set_typeb2(&self, value: OverlayButtonTypeButton)
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) -> GString
fn set_icon(&self, value: &str)
fn label(&self) -> Option<GString>
fn set_label(&self, value: Option<&str>)
fn primary_tooltip(&self) -> GString
fn set_primary_tooltip(&self, value: &str)
fn secondary_tooltip(&self) -> GString
fn set_secondary_tooltip(&self, value: &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_typeb_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_typeb2_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_primary_tooltip_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_secondary_tooltip_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_alignment_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.