decode_text Function

Defined in pyglet.text

decode_text(text)

Create a document directly from some plain text.

Parameters:text (str) – Plain text to initialise the document with.
Return type:UnformattedDocument

Previous topic

decode_html Function

Next topic

get_decoder Function