attributed Function

Defined in pyglet.resource

attributed(self, name)

Load an attributed text document.

See pyglet.text.formats.attributed for details on this format.

Parameters:name (str) – Filename of the attribute text resource to load.
Return type:FormattedDocument

Previous topic

animation Function

Next topic

file Function