get_label


Description:

public unowned string? get_label ()

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.

Parameters:

this

a `GtkButton`

Returns:

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