On Nov 24, 2007 12:10 PM, drewsmathers <[EMAIL PROTECTED]> wrote:
>
> This is a minor issue, but the documentation on event handler stacking
> states: "You can prevent the remaining event handlers in the stack
> from receiving the event by returning True".  In the current
> implementation, you're actually preventing the remaining event
> handlers in the stack from being called based on the return value
> being non-None.  It seems like you should change the check in pyglet/
> event.py to something like:
>
> if ret == EVENT_HANDLED:
>     return
>
> ... or correct the documentation if there's a good reason for the
> current implementation.  Thanks.

Thanks, I've fixed the documentation in r1442 (there's no good reason
for the current implementation, but neither is there a good reason to
change it at this stage).

Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to