pyglet
Programming Guide
Installation
Writing a pyglet application
Windowing
Keyboard input
Mouse input
Controller & Joystick input
Images and Sprites
Displaying text
Playing Sound and Video
Drawing Shapes
3D Models and Scenes
Application resources
Shaders and Rendering
Event dispatching & handling
Simple Widgets & GUI
Keeping track of time
Creating a rendering context
The OpenGL interface
OpenGL ES
Matrix and Vector Math
The application event loop
In-depth game example
Runtime Options
Debugging tools
Migrating from pyglet 2.1 to pyglet 3.0
Pyodide Integration
API Reference
pyglet
pyglet.app
pyglet.clock
pyglet.display
pyglet.customtypes
pyglet.enums
pyglet.event
pyglet.font
pyglet.graphics
pyglet.gui
pyglet.image
pyglet.info
pyglet.input
pyglet.math
pyglet.media
pyglet.resource
pyglet.sprite
pyglet.shapes
pyglet.text
pyglet.window
External Resources
Related Documentation
Projects using pyglet
Development Guide
Contributing
Development environment
Documentation and Type Hints
Testing pyglet
Making a pyglet release
OpenGL Interface Implementation
ctypes Wrapper Generation
wraptypes
Media manual
Media logging manual
pyglet
Index
Index – T
t (BezierCurve attribute)
Tablet (class in pyglet.input)
text (AbstractDocument property)
(DocumentLabel property)
(HTMLLabel property)
text() (in module pyglet.resource)
text_antialiasing (Options attribute)
text_shaping (Options attribute)
TextDecorationGroup (class in pyglet.text.layout)
TextEntry (class in pyglet.gui)
TextLayout (class in pyglet.text.layout)
TextLayoutGroup (class in pyglet.text.layout)
texture (VideoPlayer attribute)
texture() (in module pyglet.resource)
TextureArrayBin (class in pyglet.graphics.atlas)
TextureAtlas (class in pyglet.graphics.atlas)
TextureBin (class in pyglet.graphics.atlas)
TexturedMaterialGroup (class in pyglet.model)
TextureFilter (class in pyglet.enums)
TextureType (class in pyglet.enums)
TextureWrapping (class in pyglet.enums)
thickness (Arc attribute)
(BezierCurve attribute)
(MultiLine attribute)
THIN (Weight attribute)
tick() (Clock method)
(in module pyglet.clock)
time (AudioPlayer attribute)
(VideoPlayer attribute)
to_mat3() (Quaternion method)
to_mat4() (Quaternion method)
ToggleButton (class in pyglet.gui)
top (TextLayout property)
top_groups (Batch attribute)
translate() (Mat3 method)
(Mat4 method)
TRANSLATION (AnimationChannelTargetPath attribute)
transpose() (Mat4 method)
TremoloEnvelope (class in pyglet.media.synthesis)
Triangle (class in pyglet.media.synthesis)
(class in pyglet.shapes)
TRIANGLE_FAN (GeometryMode attribute)
triangle_generator() (in module pyglet.media.synthesis)
TRIANGLE_STRIP (GeometryMode attribute)
TRIANGLES (GeometryMode attribute)
type (Controller attribute)
(Shader attribute)
(UniformBase attribute)
TYPE_1D (TextureType attribute)
TYPE_1D_ARRAY (TextureType attribute)
TYPE_2D (TextureType attribute)
TYPE_2D_ARRAY (TextureType attribute)
TYPE_3D (TextureType attribute)
TYPE_CUBE_MAP (TextureType attribute)
TYPE_CUBE_MAP_ARRAY (TextureType attribute)