Glossary
Widget
UI elements such as Text
, Button
, etc.
PrimitiveWidget
A single, standalone widget.
CompositeWidget
A widget composed of multiple PrimitiveWidget
s.
Active
A state where a widget is being interacted with, such as during a click or drag.
For example, when clicking a button, it becomes active.
It remains active until the mouse button is released, even if the cursor moves outside the button's rectangle while holding the click.
Focus
A state where keyboard input is directed to a specific widget, allowing it to be operated via the keyboard.
For example, an InputText
widget is in focus while you're typing text into it.
Region
The area inside a window where widgets are placed.
The Region
determines where the widgets are drawn within the window.