set_text


Description:

public void set_text (string? text)

Sets the contents of a Text actor.

If the use_markup property was set to true it will be reset to false as a side effect. If you want to maintain the use_markup you should use the set_markup function instead

Parameters:

this

a Text

text

the text to set. Passing null is the same as passing "" (the empty string)




2022 vala-language.org