Expand description
Layout-related data.
The View contains Rows and each Row contains Buttons.
They carry data relevant to their positioning only,
except the Button, which also carries some data
about its appearance and function.
The layout is determined bottom-up, by measuring Button sizes,
deriving Row sizes from them, and then centering them within the View.
That makes the View position immutable,
and therefore different than the other positions.
Note that it might be a better idea
to make View position depend on its contents,
and let the renderer scale and center it within the widget.
ModulesΒ§
- Gathers stuff defined in C or called by C
- procedures π
- seat πTop level procedures, dispatching to everything
StructsΒ§
- The definition of an interactive button
- Button position for the pressed buttons list
- Associates the state of a layout with its definition. Contains everything necessary to present this layout to the user and to determine its reactions to inputs.
- Static, cacheable information for the layout
- A builder structure for picking up layout data from storage
- Changeable state that canβt be derived from the definition of the layout.
- NoSuch
View π - The representation of a row of buttons
EnumsΒ§
- The physical characteristic of layout for the purpose of styling
- Presence π
- View
Transition π
StaticsΒ§
- RELEASED π
FunctionsΒ§
- try_
set_ πview