PgLayout.setText

Sets the text of the layout.

Note that if you have used pango_layout_set_markup() or pango_layout_set_markup_with_accel() on @layout before, you may want to call pango_layout_set_attributes() to clear the attributes set on the layout from the markup as this function does not clear attributes.

class PgLayout
void
setText
(
string text
)

Parameters

text string

a valid UTF-8 string

Meta