EventMatchOptions
Data for matching events to widgets. See eventMatch.
Fields
- id:Id
Id of widget, used for keyboard focus and mouse capture.
- focus_id:?Id
Additional Id for keyboard focus, use to match children with
- r:Rect.Physical
Physical pixel rect used to match pointer events.
- drag_name:?[]const u8
During a drag, only match pointer events if this is the dragName.
- cleanup:bool
true means match all focus-based events routed to the subwindow with
- debug:if (builtin.mode == .Debug) bool else void
(Only in Debug) If true,
eventMatchwill log a reason when returning