1. aquasheep
  2. pygame debug patch


Mathieu Virbel  committed f0dc614

Add documentation for USEREVENT_DROPFILE in the event.rst

  • Participants
  • Parent commits f1ded63
  • Branches default

Comments (0)

Files changed (1)

File docs/reST/ref/event.rst

View file
  • Ignore whitespace
 Events support equality comparison. Two events are equal if they are the same
 type and have identical attribute values. Inequality checks also work.
+.. versionadded:: 1.9.2
+    On MacOSX, USEREVENT can have `code = pygame.USEREVENT_DROPFILE`. That's
+    mean the user is trying to open a file with your application. The filename
+    can be found at `event.filename` 
 .. function:: pump
    | :sl:`internally process pygame event handlers`