setText()
Set the label's text.
label.setText(text)
Parameters
label.setText(text)
| Parameter | Type | Default | Description |
|---|---|---|---|
text |
str |
required | The new text. If it is longer than the label can fit, it is truncated. |
Set the label's text.
label.setText(text)
label.setText(text)
| Parameter | Type | Default | Description |
|---|---|---|---|
text |
str |
required | The new text. If it is longer than the label can fit, it is truncated. |