Builtin Library
- ..
- .metadata17 B
- README.md884 B
- bounds.tool
- captureElement.tool
- click.tool
- clickAt.tool
- clickElement.tool
- dragElement.tool
- elementTree.tool
- focus.tool
- fonts.tool
- getTree.tool
- hide.tool
- hoverElement.tool
- panel.tool
- press.tool
- screens.tool
- scroll.tool
- scrollElement.tool
- set.tool
- setTheme.tool
- shared.module
- show.tool
- size.tool
- state.tool
- themes.tool
- toggle.tool
- type.tool
- update.tool
- validate.tool
- widgetProps.tool
- widgetTypes.tool
README.md
gui
Build and drive on-screen UI in one call — stand up a screen, change what it shows, react to it, and read its state back.
Create and show a screen from a widget list in a single step, then show, hide, or toggle it. Update a widget's properties in place by id. Switch the active theme or list the registered themes. Drive interaction synthetically the way a test or an agent would: press, type and set use an element by its id — an editor panel's or the game's UI — without moving the pointer or anyone's keyboard focus; clickElement, hoverElement and dragElement aim the pointer at it; click fires a callback id; scroll turns the wheel. And introspect: read a screen's widget tree, list the available widget types, or get the property definitions for a given type. The inspection operations hand back tables; the rest act on the live UI.