UXLabel
UXLabel is a static text label with no behaviour. Its kind is Label,
which every driver with a native text widget realizes as one (GEM’s
G_STRING, a UILabel, a TextView, a GtkLabel, the Win32 Label
branch), so the toolkit does no drawing. setText works before or after
attach; the realized node’s spec follows the title.
#use <UXKit>Overview
Section titled “Overview”UXLabel* caption = new UXLabel();caption.setText((u8*)"Destination:");content.addSubview(caption, UXGeom.make(8, 12, 100, 16));Conforms to
Section titled “Conforms to”- Inherits
UXControl: geometry and the realization seam. A label has no action.
Topics
Section titled “Topics”u8* text(void)The label’s text.
setText
Section titled “setText”void setText(u8* s)Replaces the text. If the label is already realized, the node’s spec is updated and the label is marked dirty. Before attach, the title is carried into realization.






