Struct winsafe::gui::events::ListBoxEvents
source · pub struct ListBoxEvents(/* private fields */);
Available on crate feature
gui
only.Expand description
Exposes list box 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 ListBoxEvents
impl ListBoxEvents
sourcepub fn lbn_dbl_clk<F>(&self, func: F)
pub fn lbn_dbl_clk<F>(&self, func: F)
LBN_DBLCLK
command notification.
sourcepub fn lbn_err_space<F>(&self, func: F)
pub fn lbn_err_space<F>(&self, func: F)
LBN_ERRSPACE
command notification.
sourcepub fn lbn_kill_focus<F>(&self, func: F)
pub fn lbn_kill_focus<F>(&self, func: F)
LBN_KILLFOCUS
command notification.
sourcepub fn lbn_sel_cancel<F>(&self, func: F)
pub fn lbn_sel_cancel<F>(&self, func: F)
LBN_SELCANCEL
command notification.
sourcepub fn lbn_sel_change<F>(&self, func: F)
pub fn lbn_sel_change<F>(&self, func: F)
LBN_SELCHANGE
command notification.
sourcepub fn lbn_set_focus<F>(&self, func: F)
pub fn lbn_set_focus<F>(&self, func: F)
LBN_SETFOCUS
command notification.
Trait Implementations§
source§impl GuiNativeControlEvents<ListBoxEvents> for ListBox
impl GuiNativeControlEvents<ListBoxEvents> for ListBox
source§fn on(&self) -> &ListBoxEvents
fn on(&self) -> &ListBoxEvents
Exposes the specific control events. Read more
Auto Trait Implementations§
impl Freeze for ListBoxEvents
impl !RefUnwindSafe for ListBoxEvents
impl !Send for ListBoxEvents
impl !Sync for ListBoxEvents
impl Unpin for ListBoxEvents
impl !UnwindSafe for ListBoxEvents
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