ui

The UI library provides factories for creating native UI elments like text fields and labels.

Summary
uiThe UI library provides factories for creating native UI elments like text fields and labels.
Functions
ui.newLabelCreates a label Node.
ui.newTextFieldCreates a text field for user input.

Functions

ui.newLabel

function ui.newLabel(font)

Creates a label Node.

Parameters

fontThe name of the font to use for the label.

Returns

The created label.

See also: text_field

ui.newTextField

function ui.newTextField(x,
y,
widht,
height,
font-string)

Creates a text field for user input.

Parameters

xThe x position of the center of the text field.
yThe y position of the center of the text field.
widthThe width of the text field.
heightThe height of the text field.
font-stringThe name of the font for the text field.

Returns

The created text field.

function ui.newLabel(font)
Creates a label Node.
The basic visual type for Gemini SK.
function ui.newTextField(x,
y,
widht,
height,
font-string)
Creates a text field for user input.
A text input object.
Close