Skip to content

Widgets

Edit this page

Widgets are the building blocks of a Tui application. Each widget is responsible for rendering a piece of the terminal UI and, optionally, handling user input.

All widgets extend AbstractWidget, which provides common features such as style classes, state flags, event listeners and invalidation. Widgets that accept keyboard input implement FocusableInterface so the focus manager can route key events to them.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.
TOC
    Version