Expand description
Modules§
- cmd
- Common commands.
- drag_
drop - Drag&drop properties, event properties.
- focus
- Keyboard focus properties,
tab_index,focusable,on_focus,is_focusedand more. - gesture
- Gesture events and control,
on_click,click_shortcutand more. - keyboard
- Keyboard events,
on_key_down,on_key_upand more. - mouse
- Mouse events,
on_mouse_move,on_mouse_enter,on_mouse_downand more. - pointer_
capture - Mouse and touch capture properties.
- touch
- Touch events,
on_touch_move,on_touch_tap,on_touch_startand more.
Structs§
- Cursor
Img - Window custom cursor.
- Mouse
Active Config - Configuration for mouse active property.
- Touch
Active Config - Configuration for touch active property.
Enums§
- Cursor
Icon - Named system dependent cursor icon.
- Cursor
Source - Window cursor source.
Statics§
- MOUSE_
ACTIVE_ CONFIG_ VAR - Configuration for
is_mouse_active. - TOUCH_
ACTIVE_ CONFIG_ VAR - Configuration for
is_touch_active.
Functions§
- click_
mode PDefines how click events are generated for the widget.- cursor
PSets the mouse pointer cursor displayed when hovering the widget.- is_
cap_ hovered PIf the mouse pointer is over the widget, or a descendant, or is captured by the it.- is_
cap_ mouse_ pressed PIf the mouse pointer is pressed or captured by the widget and it is enabled.- is_
cap_ pointer_ pressed PIfis_cap_mouse_pressedoris_cap_touched_from_start.- is_
cap_ pressed PIfis_cap_mouse_pressed,is_cap_touched_from_startoris_shortcut_pressed.- is_
cap_ touched PIf a touch contact point is over the widget, or is over a descendant, or is captured by it.- is_
cap_ touched_ from_ start PIf a touch contact point is over the widget, or is over a descendant, or is captured by it.- is_
hovered PIf the mouse pointer is over the widget or a descendant and the widget is enabled.- is_
hovered_ disabled PIf the mouse pointer is over the widget or a descendant and the widget is disabled.- is_
mouse_ active PIf the mouse pointer moved over or interacted with the widget within a time duration defined by contextualmouse_active_config.- is_
mouse_ pressed PIf the mouse pointer is pressed in the widget and it is enabled.- is_
pointer_ active PIfis_mouse_activeoris_touch_active.- is_
pointer_ pressed PIfis_mouse_pressedoris_touched_from_start.- is_
pressed PIfis_mouse_pressed,is_touched_from_startoris_shortcut_pressed.- is_
shortcut_ pressed PIf the widget was clicked by shortcut or accessibility event and theshortcut_pressed_durationhas not elapsed.- is_
touch_ active PIf an unhandled touch tap has happened on the widget within a time duration defined by contextualtouch_active_config.- is_
touched PIf a touch contact point is over the widget or a descendant and the it is enabled.- is_
touched_ from_ start PIf a touch contact that started over the widget is over it and it is enabled.- mouse_
active_ config PContextual configuration foris_mouse_active.- touch_
active_ config PContextual configuration foris_touch_active.- touch_
transform PApplies transforms from touch gestures on the widget.