1. pygame
  2. Untitled project
  3. pygame


illume  committed b437d9f

Added note about how events should be used from the main thread.

Fixes #56

  • Participants
  • Parent commits 2cd6d1c
  • Branches default

Comments (0)

Files changed (1)

File docs/reST/ref/event.rst

View file
  • Ignore whitespace
 ``pygame.event.set_allowed()`` and ``pygame.event.set_blocked()`` to work with
 this filtering. All events default to allowed.
+The event subsystem should be called from the main thread.  If you want to post
+events into the queue from other threads, please use the fastevent package.
 Joysticks will not send any events until the device has been initialized.
 An Event object contains an event type and a readonly set of member data. The