Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 355 Bytes

Label.md

File metadata and controls

15 lines (12 loc) · 355 Bytes

Label Widget

The Label widget displays read-only text within a window.

Example

use PhpGui\Widget\Label;
$label = new Label('parentId', ['text' => 'Static Text']);
$label->setText('Updated Text');

Details

  • Simple widget to display text.
  • Supports text update via setText method.
  • Often used to describe actions and statuses.