Skip to main content

Module chrome

Module chrome 

Source
Expand description

Renderer-neutral node chrome placement helpers.

Runtime owns the semantic facts that make adapter chrome portable: which affordances exist, when they are visible, their node-relative placement, and the resize constraints associated with resize affordances. Adapters still own the concrete widgets, focus handling, popovers, and visual styling.

Structs§

NodeChromeFacts
Resolved adapter-owned chrome facts for one node.
NodeChromeFactsRequest
Headless request to resolve adapter-owned chrome around one node.
NodeChromeLayoutPolicy
View-independent sizing policy for semantic chrome placement.
NodeChromeState
Adapter-facing UI state used to resolve node chrome visibility.
ResolvedNodeChrome
One visible semantic chrome affordance resolved in canvas space against node bounds.

Functions§

resolve_node_chrome_facts
Resolves semantic node chrome into canvas-space geometry facts.