Skip to content

setTextColor()

Set the label's text Color.

Parameters

Once an object label has been created, you can use the following functions:

label.setTextColor()
label.setTextColor(color)
Parameter Type Default Description
color Color None The new text color. If omitted, a color-selection dialog opens.