UI module

label

procedure · 1 overloadsince 0.31.0Source

One line of text.

label :: (
    text: string,
    options: Text_Options = .{},
    loc := #caller_location
) -> *Node

One line of text.

Parameters

text: string
the text to show. It is copied for the frame.
options: Text_Options
size, colour, font and spacing.
loc := #caller_location
the call site. It identifies the widget from one frame to the next, so leave the default.

Returns

See also