Normalized UI event delivered from a display into GPUI.Session.
Summary
Functions
Returns event types accepted by the low-level native injection boundary.
Returns the renderer-independent event types routed to root view callbacks.
Converts an event struct and its extra attributes into a plain event map.
Types
@type t() :: %GPUI.Event{ attrs: map(), event: String.t() | nil, type: type(), value: term(), window_id: pos_integer() | nil }
@type type() ::
:click
| :command
| :change
| :select
| :release
| :search
| :submit
| :range
| :link
| :transaction
| :selection
| :viewport
| :geometry
| :range_geometry
| :hit_test
| :bounds
| :focus
| :blur
| :keydown
| :keyup
| :drag_enter
| :drag_move
| :drag_leave
| :drop
| :clipboard
| :clipboard_write
| :copy
| :file_read
| :window_close_request
| :window_focus
| :window_blur
| :window_closed