Is this even possible? It feels like the text api is too rich and advanced and thus hidden away what I need, and the pieces I can use are spread over too many classes.


Take a look at this classes:

document = pyglet.text.document.FormattedDocument()
textbox = pyglet.text.layout.IncrementalTextLayout(document, w, h, batch=batch)

style={}
self.document.set_style(0, len(document), style)

And if it is editable:
pyglet.text.caret.Caret(textbox)



--
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to