Default realization posture for standardized boolean widgets
FROG — Free Open Graphical Language
- Default realization package posture
- Machine-readable boolean realization manifest
- Boolean default realization assets
- Boolean widget class law
- Executable UI primitives
This document describes the default realization posture for the standardized boolean widget classes:
frog.widgets.boolean_controlfrog.widgets.boolean_indicator
It does not define boolean widget semantics.
The class law belongs to Libraries/Widgets/Boolean.md.
This document describes how the default realization family can embody that law through SVG template resources, part bindings, state maps, and realization variants.
The default boolean realization follows the shared widget convention:
labelrealizes the structural/logical label surface when a host chooses to expose it.captionrealizes the front-panel display caption.state_textrealizes optional internal true/false text.
rectangularcircular
frog.widgets.boolean_control
frog.widgets.boolean_indicator
|
+-- frog.realizations.default.boolean.rectangular
|
+-- frog.realizations.default.boolean.circular
Libraries/Realizations/Default/boolean.default.wfrogThat manifest declares target classes, realization records, variants, SVG resources, part bindings, state maps, property bindings, anchors, and host hints.
rootlabelcaptionouter_faceinner_facestate_textfocus_ring
assets/boolean/templates/boolean_rectangular.svgassets/boolean/templates/boolean_circular.svg
boolean public property
-> realization property binding
-> SVG template part or host-rendered surface
Representative bindings include label.text to label, caption.text to caption, state_text.true_text and state_text.false_text to state_text, style.outer.* to outer_face, style.inner.* to inner_face, and style.focus_ring.* to focus_ring.
The default boolean realization keeps class law in Libraries/Widgets/Boolean.md, publishes SVG template resources under assets/boolean/, and binds them through boolean.default.wfrog.