Module zng_app::view_process::raw_events
source · Expand description
Events directly from the view-process targeting the app windows.
These events get processed by app extensions to generate the events used in widgets, for example
the KeyboardManager
uses the RAW_KEY_INPUT_EVENT
into focus targeted events.
§Synthetic Input
You can notify
these events to fake hardware input, please be careful that you mimic the exact sequence a real
hardware would generate, app extensions can assume that the raw events are correct. The DeviceId
for fake
input must be unique but constant for each distinctive synthetic event source.
Structs§
- Arguments for
LOW_MEMORY_EVENT
. - Arguments for the
RAW_ANIMATIONS_CONFIG_CHANGED_EVENT
. - Arguments for the
RAW_AXIS_MOTION_EVENT
. - Arguments for the
RAW_CHROME_CONFIG_CHANGED_EVENT
. - Arguments for the
RAW_COLORS_CONFIG_CHANGED_EVENT
. - Arguments for the
RAW_DROPPED_FILE_EVENT
. - Arguments for the
RAW_EXTENSION_EVENT
. - Arguments for the
RAW_FONT_AA_CHANGED_EVENT
. RAW_FONT_CHANGED_EVENT
arguments.- Arguments for the
RAW_FRAME_IMAGE_READY_EVENT
. - Arguments for the
RAW_FRAME_RENDERED_EVENT
. - Arguments for the
RAW_HEADLESS_OPEN_EVENT
. - Arguments for the
RAW_HOVERED_FILE_EVENT
. - Arguments for the
RAW_HOVERED_FILE_CANCELLED_EVENT
. - Arguments for the image events.
- Arguments for the
RAW_IME_EVENT
. - Arguments for the
RAW_KEY_INPUT_EVENT
. - Arguments for the
RAW_KEY_REPEAT_CONFIG_CHANGED_EVENT
. - Arguments for the
RAW_LOCALE_CONFIG_CHANGED_EVENT
. - Arguments for the
RAW_MONITORS_CHANGED_EVENT
. - Arguments for the
RAW_MOUSE_ENTERED_EVENT
andRAW_MOUSE_LEFT_EVENT
. - Arguments for the
RAW_MOUSE_INPUT_EVENT
. - Arguments for the
RAW_MOUSE_MOVED_EVENT
. - Arguments for the
RAW_MOUSE_WHEEL_EVENT
. - Arguments for the
RAW_MULTI_CLICK_CONFIG_CHANGED_EVENT
. - Arguments for the
RAW_SCALE_FACTOR_CHANGED_EVENT
. - Arguments for the
RAW_TOUCH_EVENT
. - Arguments for the
RAW_TOUCH_CONFIG_CHANGED_EVENT
. - Arguments for the
RAW_TOUCHPAD_PRESSURE_EVENT
. - Arguments for the
RAW_WINDOW_CHANGED_EVENT
. - Arguments for the
RAW_WINDOW_CLOSE_EVENT
. - Arguments for the
RAW_WINDOW_CLOSE_REQUESTED_EVENT
. - Arguments for the
RAW_WINDOW_FOCUS_EVENT
. - Arguments for the
RAW_WINDOW_OPEN_EVENT
. - Arguments for the
RAW_WINDOW_OR_HEADLESS_OPEN_ERROR_EVENT
.
Statics§
- System low memory warning, some platforms may kill the app if it does not release memory.
- Change in system animation enabled config.
- Motion on some analog axis send to a window.
- System window chrome config changed.
- Color scheme or accent color preference changed for a window.
- A file was drag-dropped on a window.
- Custom view-process extension event.
- Change in system font anti-aliasing config.
- Change in system text fonts, install or uninstall.
- Image generated from a frame is ready for reading.
- A frame finished rendering and was presented in a window.
- A headless surface has finished initializing in the view-process.
- A dragging file was moved away from the window or the operation was cancelled.
- A file was dragged over a window.
- Image loaded without errors.
- Image failed to load.
- Image metadata loaded without errors.
- Progressively decoded image has decoded more pixels.
- An IME event was received by a window.
- A key press or release targeting a window.
- Change in system key repeat interval config.
- Change in system locale config.
- Monitors added, removed or modified.
- Mouse pointer started hovering a window.
- Mouse button was pressed or released when the mouse was over a window.
- Mouse pointer stopped hovering a window.
- Mouse pointer moved over a window.
- Mouse wheel scrolled when the mouse was over a window.
- Change in system “double-click” config.
- Pixel scale factor for a monitor screen and its windows has changed.
- Touchpad touched when the mouse was over a window.
- Change in system touch config.
- A window was touched.
- A window was moved, resized or has a state change.
- A window was destroyed.
- A window was requested to close.
- A window received or lost focus.
- A window has finished initializing in the view-process.
- A window or headless surface initialization failed in the view-process.