pygame   documentation
||  Home  ||  Help Contents  ||
 
|| pygame || cdrom || constants || cursor || display || draw ||
|| event || font || image || joystick || key || mixer ||
|| mixer_music || mouse || movie || sndarray || surfarray || time ||
|| transform ||
 
|| CD || Channel || Clock || Font || Joystick || Movie ||
|| Overlay || Rect || Sound || Surface ||
 
|| color || cursors || sprite ||

pygame.constants

These constants are defined by SDL, and needed in pygame. Note that many of the flags for SDL are not needed in pygame, and are not included here. These constants are generally accessed from the pygame.locals module. This module is automatically placed in the pygame namespace, but you will usually want to place them directly into your module's namespace with the following command, 'from pygame.locals import *'.
display - The following constants are used by the display module and Surfaces
events - These constants define the various event types
keyboard - These constants represent the keys on the keyboard.
modifiers - These constants represent the modifier keys on the keyboard.
time - These constants define the various time constants

display
pygame.constants.display (constants)
 
events
pygame.constants.events (constants)
 
keyboard
pygame.constants.keyboard (constants)
 
modifiers
pygame.constants.modifiers (constants)
 
time
pygame.constants.time (constants)