module pkg::alloy::ui::viewssource
Views kept hidden while another shows (decisions/F11.md, F11c,
switch, and pkg::alloy::ui_app's screens): a hidden view's element is
skipped by layout, painting, hit tests, the focus and the accessibility
tree, its canvas node hidden with what it draws, and its owner's
bindings wait for it to show. A view shown may take the focus once it
is laid out.
type Viewsource
exp type View = struct
A view made: its owner and its element.
Fields
exp owner: u32exp root: u32
type ScreenFocussource
exp type ScreenFocus = struct
Where the focus goes once a screen shown is laid out: to the element, else to the screen's first taking it.
Fields
exp root: Elementexp element: Option<Element>exp ring: bool