Skip to content

getText()

Return the button's text.

button.getText()

Returns

return text

Value Type Description
text str The text shown on the button.