pyglet Logo
2.0

Programming Guide

  • Installation
  • Writing a pyglet application
  • Windowing
  • Keyboard input
  • Mouse input
  • Controller & Joystick input
  • Drawing Shapes
  • Images and Sprites
  • Playing Sound and Video
  • Displaying text
  • Application resources
  • Shaders and Rendering
  • Event dispatching & handling
  • Simple Widgets & GUI
  • Keeping track of time
  • Creating an OpenGL context
  • The OpenGL interface
  • Matrix and Vector Math
  • The application event loop
  • In-depth game example
  • Runtime Options
  • Debugging tools
  • Migrating from pyglet 1.5

API Reference

  • pyglet
  • pyglet.app
  • pyglet.canvas
  • pyglet.clock
  • pyglet.customtypes
  • pyglet.event
  • pyglet.font
  • pyglet.font.user
  • pyglet.gl
  • 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)
  • target (Texture attribute)
  • tex_coords (Texture attribute)
  • tex_coords_order (Texture attribute)
  • text (AbstractDocument property)
    • (DocumentLabel property)
    • (HTMLLabel property)
  • text() (in module pyglet.resource)
  • TextDecorationGroup (class in pyglet.text.layout)
  • TextEntry (class in pyglet.gui)
  • TextLayout (class in pyglet.text.layout)
  • TextLayoutGroup (class in pyglet.text.layout)
  • Texture (class in pyglet.image)
  • texture (Player attribute)
  • texture() (in module pyglet.resource)
  • Texture3D (class in pyglet.image)
  • TextureArrayBin (class in pyglet.image.atlas)
  • TextureAtlas (class in pyglet.image.atlas)
  • TextureBin (class in pyglet.image.atlas)
  • TextureGrid (class in pyglet.image)
  • TextureGroup (class in pyglet.graphics)
  • TextureRegion (class in pyglet.image)
  • TextureSequence (class in pyglet.image)
  • thickness (Arc attribute)
    • (BezierCurve attribute)
    • (MultiLine attribute)
  • tick() (Clock method)
    • (in module pyglet.clock)
  • TileableTexture (class in pyglet.image)
  • time (Player 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)
  • transpose() (Mat4 method)
  • TremoloEnvelope (class in pyglet.media.synthesis)
  • Triangle (class in pyglet.media.synthesis)
    • (class in pyglet.shapes)
  • triangle_generator() (in module pyglet.media.synthesis)
  • type (Shader attribute)

© Copyright 2006-2008, Alex Holkner. 2008-2023 pyglet contributors.

Built with Sphinx using a theme provided by Read the Docs.