Struct winsafe::gui::events::LabelEvents
source · pub struct LabelEvents(/* private fields */);
Available on crate feature
gui
only.Expand description
Exposes label control notifications.
These event methods are just proxies to the
WindowEvents
of the parent window,
who is the real responsible for the child event handling.
You cannot directly instantiate this object, it is created internally by the control.
Implementations§
source§impl LabelEvents
impl LabelEvents
sourcepub fn stn_clicked<F>(&self, func: F)
pub fn stn_clicked<F>(&self, func: F)
STN_CLICKED
notification.
sourcepub fn stn_dbl_clk<F>(&self, func: F)
pub fn stn_dbl_clk<F>(&self, func: F)
STN_DBLCLK
notification.
sourcepub fn stn_disable<F>(&self, func: F)
pub fn stn_disable<F>(&self, func: F)
STN_DISABLE
notification.
sourcepub fn stn_enable<F>(&self, func: F)
pub fn stn_enable<F>(&self, func: F)
STN_ENABLE
notification.
Trait Implementations§
source§impl GuiNativeControlEvents<LabelEvents> for Label
impl GuiNativeControlEvents<LabelEvents> for Label
source§fn on(&self) -> &LabelEvents
fn on(&self) -> &LabelEvents
Exposes the specific control events. Read more
Auto Trait Implementations§
impl Freeze for LabelEvents
impl !RefUnwindSafe for LabelEvents
impl !Send for LabelEvents
impl !Sync for LabelEvents
impl Unpin for LabelEvents
impl !UnwindSafe for LabelEvents
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more