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) -> &Self
pub fn stn_clicked<F>(&self, func: F) -> &Self
STN_CLICKED
notification.
Sourcepub fn stn_dbl_clk<F>(&self, func: F) -> &Self
pub fn stn_dbl_clk<F>(&self, func: F) -> &Self
STN_DBLCLK
notification.
Sourcepub fn stn_disable<F>(&self, func: F) -> &Self
pub fn stn_disable<F>(&self, func: F) -> &Self
STN_DISABLE
notification.
Sourcepub fn stn_enable<F>(&self, func: F) -> &Self
pub fn stn_enable<F>(&self, func: F) -> &Self
STN_ENABLE
notification.
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