New Terms and Fundamentals
Wednesday, December 13, 2023
Definition
Libraries and applications that use Layers should bundle the definitions for their widgets. When an application is installed on a system, it should install the definition-bundles of itself and the Layers libraries it depends on.
For example, I have a Layers application called Nebula. It also depends on three other Layers libraries: QLayers, Fusion, and Vortex. When Nebula is installed on a system, it needs to install the definition-bundles for QLayers, Fusion, Vortex, and Nebula.
Style
Styles are meant to provide a mechanism for very specific customization of the user interface.
Theme
A theme is a small set of attributes intended to be linked-to, directly or indirectly, by a majority of widget attributes.
Model
A model is a data structure that represents widget attributes
and their hierarchies.
A model is initialized by a definition representing a
top-level widget. Since a definition can include other
definitions, a model can load widget data recursively.
Models are maintained by the LApplication instance.
Top-level widgets connect to these models.
(UPDATE 2024-12-17: Models, as described above, were determined to be unnecessary. The Layers controller just maintains definitions, and widgets associate with them.)