Mathieu Virbel committed f0dc614

Add documentation for USEREVENT_DROPFILE in the event.rst

Comments (0)

Files changed (1)


 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`