Skip to main content

Module form_view

Module form_view 

Source
Expand description

Schema-driven form layout built on form::field_input.

The view edits parameter data and returns FormViewOut actions for the caller to apply after drawing. It takes no engine or document, so the app and capture tools can use the same layout without overlapping mutable engine borrows.

Sections run from references and parameters through schema-ordered groups, followed by Transform and read-only sections. Transform and Outputs start collapsed. Reference selections stay visible below their activation button.

Accordion and arrival-scroll state lives in egui memory keyed by the form’s hit prefix, title, and section.

Structs§

FormViewOut
What the user did in one drawn frame of the form.
FormViewSpec
Everything ABOUT the form that the consumer supplies. Borrowed; the form view holds no state of its own beyond egui memory.
RefActivate
A reference field’s Select was pressed — the caller dispatches this to its own picker flavour (begin_ref_select / begin_ref_select_for_constraint).

Functions§

form_view