tui.label
tui.label ID PANE ROW TEXT
Creates a static text widget.
Parameters
ID: unique widget id.PANE: a leaf pane.ROW: 0-based row inside the pane’s content area, counted from the pane’s vertical anchor (seetui.pane_valign).TEXT: the text.
Returns: 1 and a message on stderr when ID or PANE is empty.
Notes
- Not focusable. Change the text with
tui.set_labelortui.update. - Create widgets before the first render, or call
tui.relayoutafterwards.
Example
tui.label lbl_name form 0 "Name"
