Label.setText

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 propertyGtk.Label:use-underline property to false as a side effect.

This function will set the propertyGtk.Label:use-markup property to false as a side effect.

See also: gtk.label.Label.setMarkup

class Label
void
setText
(
string str
)

Parameters

str string

The text you want to set