Label

Display text.

Modulerequire("yue.gui")
TypeClass
InheritsView

Class methods

create(text)

Create a new Label with text.

Parameters

Return

Label

createwithattributedtext(text)

Create a new Label with attributed text.

Parameters

Return

Label

Methods

settext(text)

Set the text to display.

Parameters

gettext()

Return the text displayed.

Return

string

setalign(align)

Set horizontal text alignment.

Parameters

setvalign(align)

Set vertical text alignment.

Parameters

setattributedtext(text)

Set the attributed text to display.

Parameters

getattributedtext()

Return the attributed text displayed.

Return

AttributedText