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 [[email protected]_label] the return value will be null. This will be the case if you create an empty button with [[email protected]] 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.




2022 vala-language.org