Module window_targets
Expand description
The controls of a window’s own content, as the app that draws them
describes them to the desktop: what a session finds and presses by name
(crate::floating_surface::FloatingSurfaceClientMessage::WindowTargets),
and what the desktop presses on the app
(crate::floating_surface::FloatingSurfaceHostMessage::PressTarget),
which answers through the same path an assistive technology’s activation
takes.
A window drawn by another process publishes no surface of the desktop’s
own: the controls inside it are the app’s, and nothing outside the app
could name them without this. Everything is in the window’s logical
coordinates, rectangles as [x0, y0, x1, y1].
Structs§
- Window
Target - One control of a window’s content that a caller can name and press.
Enums§
- Target
Action - What the desktop may do to a control of a window’s content.
Constants§
- MAX_
TARGETS - Most controls one window describes. A window with more is described by its first ones in reading order; the session lists and presses those.