set_label


Description:

public void set_label (string? label)

Sets the label of this to label.

The label will be displayed alone or next to the icon, unless [property@Toggle:child] is set, but will still be read out by the screen reader.

Parameters:

this

a toggle

label

a label