GtkButton::get_label

string get_label();

Use this method to retrieve the text from the label of the button, as set by set_label() or by the GtkButton constructor. This string is owned by the widget and must not be modified or freed. 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 GtkButton to use as a container.

See also: set_label()