Module zng_wgt_input::mouse
source · Expand description
Mouse events, on_mouse_move
, on_mouse_enter
,
on_mouse_down
and more.
There events are low level and directly tied to a mouse device.
Before using them review the gesture
events, in particular the
on_click
event.
Functions§
P
Mouse clicked on the disabled widget with any button, including repeat clicks.P
Mouse clicked on the disabled widget with the primary button, including repeat clicks.P
Mouse entered or left the widget and descendant widgets area, the widget is disabled and cursor capture allows it.P
Mouse button pressed or release while the cursor is over the widget, the widget is disabled and no cursor capture blocks it.P
Mouse wheel scrolled while pointer is hovering widget and it is disabled.P
Mouse clicked on the widget with any button and including repeat clicks and it is enabled.P
Mouse double clicked on the widget with any button and it is enabled.P
Mouse clicked on the widget with any button but excluding repeat clicks and it is enabled.P
Mouse triple clicked on the widget with any button and it is enabled.P
Mouse clicked on the widget with the primary button including repeat clicks and it is enabled.P
Mouse double clicked on the widget with the primary button and it is enabled.P
Mouse button pressed while the cursor is over the widget, the widget is enabled and cursor capture allows it.P
Mouse is now over the widget or a descendant widget, the widget is enabled and cursor capture allows it.P
Mouse entered or left the widget and descendant widgets area, the widget is enabled and cursor capture allows it.P
Mouse button pressed or released while the cursor is over the widget, the widget is enabled and no cursor capture blocks it.P
Mouse is no longer over the widget or any descendant widget, the widget is enabled and cursor capture allows it.P
Mouse cursor moved over the widget and cursor capture allows it.P
Mouse wheel scrolled while pointer is hovering the widget and the pressed keyboard modifiers allow a scroll operation and the widget is enabled.P
Mouse clicked on the widget with the primary button excluding repeat clicks and it is enabled.P
Mouse triple clicked on the widget with the primary button and it is enabled.P
Mouse button released while the cursor if over the widget, the widget is enabled and cursor capture allows it.P
Mouse wheel scrolled while pointer is hovering widget and it is enabled.P
Mouse wheel scrolled while pointer is hovering the widget and the pressed keyboard modifiers allow a zoom operation and the widget is enabled.P
Previewon_disabled_mouse_any_click
event.P
Previewon_disabled_mouse_click
event.P
Previewon_disabled_mouse_hovered
event.P
Previewon_disabled_mouse_input
event.P
Previewon_disabled_mouse_wheel
event.P
Previewon_mouse_any_click
event.P
Previewon_mouse_any_double_click
event.P
Previewon_mouse_any_single_click
event.P
Previewon_mouse_any_triple_click
event.P
Previewon_mouse_click
event.P
Previewon_mouse_double_click
event.P
Previewon_mouse_down
event.P
Previewon_mouse_enter
event.P
Previewon_mouse_hovered
event.P
Previewon_mouse_input
event.P
Previewon_mouse_leave
event.P
Previewon_mouse_move
event.P
Previewon_mouse_scroll
event.P
Previewon_mouse_single_click
event.P
Previewon_mouse_triple_click
event.P
Previewon_mouse_up
event.P
Previewon_mouse_wheel
event.P
Previewon_mouse_zoom
event.