get_label


Description:

public unowned string? get_label ()

Fetches the text from the label of the button, as set by set_label.

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 to use as a container.

Parameters:

this

a Button

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