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)

Note

Since pyglet 1.1

Classes

Caret Visible text insertion marker for

Notes

Defined

  • clock
  • event
  • key
  • re
  • time

Table Of Contents

Previous topic

load Function

Next topic

Caret Class