Button.getLabel

string getLabel()

Fetches the text from the label of the button, as set by [gtk.button.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 [gtk.button.Button.new_] to use as a container.

Returns

The text of the label widget. This string is owned

by the widget and must not be modified or freed.