cushy/guide/src/widgets.md
Jonathan Johnson 6ad6cca32d
Children renamed to WidgetList
Plus more work on the user's guide, which inspired the rename.
2024-01-09 13:26:14 -08:00

994 B

Widgets

Types that implement Widget are the building blocks of Cushy user interfaces. The built-in widgets each aim to serve a single purpose or solve a single problem. Through composition, complex user interfaces can be built by combining these single-purpose widgets.

This section is organized into four categories of widgets:

  • Multi-widget Layout Widgets: Widgets that are designed to layout multiple widgets as a single widget.
  • Single-widget Layout Widgets: Widgets that are designed to influence a single widget's layout.
  • Controls: Widgets that are visible to the user to present and/or interact with data.
  • Utility Widgets: Widgets that have no direct layout or visual presentation. This type of widget usually associates extra data that may impact how child widgets are presented.