Home /Examples/examples/gui/SDK-ui-family-scope.md

SDK-ui-family-scope.md

examples/gui/SDK-ui-family-scope.md · 38 line(s) · markdown

The separate lib/ui SDK family

The repository has two similarly named but materially different source families:

Do not treat an instance of lib/ui/SLWindow as proof that a native OS window was opened. Use lib/user-interface/SLWindow and lib/user-interface/SLUserInterface for actual SleelaUI windows.

Current SDK model vocabulary

The inspected lib/ui sources include SLApplication, SLWindow, SLWidget, SLTheme, SLButton, SLLabel, SLView, and SLLayout. Their shared state pattern is intentionally modest:

See SDK-ui-object-model.sleela for a runnable object-model exercise. It is a model/API example, not a native GUI demo.

When the SDK family gains real native bridge methods, add separate examples with explicit bridge prerequisites rather than silently changing the meaning of these model demonstrations.