Sets the text of the layout.
This function validates text
and renders invalid UTF-8 with a placeholder glyph.
Note that if you have used [[email protected]_markup] or [[email protected]_markup_with_accel] on this before, you may want to call [[email protected]_attributes] to clear the attributes set on the layout from the markup as this function does not clear attributes.
this |
a `PangoLayout` |
text |
the text |
length |
maximum length of |