Defined in pyglet.text
decode_attributed
(text)¶Create a document directly from some attributed text.
See pyglet.text.formats.attributed for a description of attributed text.
Parameters: | text (str) – Attributed text to decode. |
---|---|
Return type: | FormattedDocument |