Button.getLabel

Fetches the text from the label of the button, as set by Button.setLabel. If the label text has not been set the return value will be NULL. This will be the case if you create an empty button with Button.new to use as a container.

class Button
string
getLabel
()

Return Value

Type: string

The text of the label widget. This string is owned by the widget and must not be modified or freed.