Module pyglet.text.caret

Provides keyboard and mouse editing procedures for text layout.

Example usage:

from pyglet import window
from pyglet.text import layout, caret

my_window = window.Window(...)
my_layout = layout.IncrementalTextLayout(...)
my_caret = caret.Caret(my_layout)
my_window.push_handlers(my_caret)

Since: pyglet 1.1

Classes

  Caret
Visible text insertion marker for pyglet.text.layout.IncrementalTextLayout.