Label.setText

void setText(string str)

Sets the text within the gtk.label.Label widget.

It overwrites any text that was there before.

This function will clear any previously set mnemonic accelerators, and set the gtk.label.Label.useUnderline property to false as a side effect.

This function will set the gtk.label.Label.useMarkup property to false as a side effect.

See also: gtk.label.Label.setMarkup

Parameters

strThe text you want to set