area138 members
User interface
Panels, buttons and text, themes, and the screen and windows.
Start here
datumhue.ui.rootThe app's root content area — the parent for top-level UI.UiElement:panelCreate a child UI panel.UiElement:buttonCreate a child interactive button.
In this area
- datumhue.uiThe
rootcontent area — the entry point for building UI. - datumhue.themeRead, apply, and reset an app's theme, set its control density, and build theme-tracking colors.
- datumhue.screenWindow dimensions, fullscreen, resolution, stretch/zoom, and monitor information.
- datumhue.wmManage descendant apps: terminate, focus, bounds, weight, minimize, cursor override, frame wrapping, input grabs, cancel requests, and permission grants.
- UiElementA node in the UI tree, returned by the constructor methods on a parent element (
ui.root:panel{...},panel:button{...}, ...) and bysource:mount(opts)on a render target. - RouterIn-app navigation for one region: a retained page stack with named routes and switchable roots (tabs).
- RouteA declared navigation destination from
router:route(...). - ThemedColorA theme color token from
datumhue.theme.token(...). - ThemeA theme — a built-in (
datumhue.theme.default_dark()/default_light()), one loaded from a file (file:read():theme()), or the app's current theme (datumhue.theme.current()).