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 – A
a (Ellipse attribute)
(Mat3 attribute)
(Mat4 attribute)
aabb (WidgetBase attribute)
AbsoluteAxis (class in pyglet.input)
AbstractDocument (class in pyglet.text.document)
AbstractListener (class in pyglet.media.drivers.listener)
activate() (Window method)
ADD (BlendOp attribute)
add() (RangeAllocator method)
(TextureArrayBin method)
(TextureAtlas method)
(TextureBin method)
add_comparison() (Group method)
add_directory() (in module pyglet.font)
add_explicit_binding() (UBOBindingManager method)
add_file() (in module pyglet.font)
add_font() (in module pyglet.resource)
add_state() (Group method)
add_to_texture_bin() (Animation method)
add_user_font() (in module pyglet.font)
add_vertex_list() (IndexedVertexGroupBucket method)
(VertexGroupBucket method)
AddressMode (class in pyglet.enums)
ADSREnvelope (class in pyglet.media.synthesis)
advance (InlineElement attribute)
alloc() (Allocator method)
,
[1]
(Stream method)
alloc_to_group() (InstancedIndexedVertexDomain method)
(InstancedVertexDomain method)
(VertexDomain method)
Allocator (class in pyglet.graphics.allocation)
(class in pyglet.graphics.atlas)
AllocatorException
AllocatorMemoryException
ALWAYS (CompareOp attribute)
anchor_position (ShapeBase attribute)
anchor_x (IncrementalTextLayout property)
(ScrollableTextLayout property)
(ShapeBase attribute)
(TextLayout property)
anchor_y (IncrementalTextLayout property)
(ScrollableTextLayout property)
(ShapeBase attribute)
(TextLayout property)
AnchorX (in module pyglet.customtypes)
AnchorY (in module pyglet.customtypes)
angle (Arc attribute)
(Sector attribute)
Animation (class in pyglet.image.animation)
animation() (in module pyglet.resource)
AnimationChannelTargetPath (class in pyglet.enums)
AnimationFrame (class in pyglet.image.animation)
AnimationInterpolation (class in pyglet.enums)
api_drawable (MouseCursor attribute)
AppException (class in pyglet.app)
AppleRemote (class in pyglet.input)
Arc (class in pyglet.shapes)
ascent (InlineElement attribute)
aspect_ratio (Window attribute)
attrib_name_buffers (VertexDomain attribute)
(VertexStream attribute)
Attribute (class in pyglet.graphics.shader)
attribute_meta (VertexDomain attribute)
(VertexStream attribute)
attribute_names (VertexDomain property)
attributed() (in module pyglet.resource)
AttributeFormat (class in pyglet.graphics.shader)
attributes (ShaderProgram property)
AttributeView (class in pyglet.graphics.shader)
audio (Options attribute)
AudioData (class in pyglet.media.codecs)
AudioFormat (class in pyglet.media.codecs)
AudioPlayer (class in pyglet.media.player)