getLabel

open fun getLabel(): String?

Fetches the text from the label of the button.

If the label text has not been set with method@Gtk.Button.set_label the return value will be null. This will be the case if you create an empty button with ctor@Gtk.Button.new to use as a container.

Return

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