setText()
Set the button's text.
button.setText(text)
Parameters
button.setText(text)
| Parameter | Type | Default | Description |
|---|---|---|---|
text |
str |
required | The new text to show on the button. |
Set the button's text.
button.setText(text)
button.setText(text)
| Parameter | Type | Default | Description |
|---|---|---|---|
text |
str |
required | The new text to show on the button. |