On a slightly off-topic note: Has there been an argument about
prepending event handlers to the ones currrently on the stack or is it
programming wise impossible ? I haven't looked into the source for
events yet but to me it is something I would appreciate being able to
push handlers in front of the current handlers.

On 2 feb, 21:57, Alex Holkner <[email protected]> wrote:
> On Tue, Feb 3, 2009 at 1:39 AM, sol <[email protected]> wrote:
>
> > It seems like you can not stack handlers using the @decorator, instead
> > you have to use push_handlers. Is this correct?
>
> This is the expected behaviour -- the @event form is equivalent to
> calling set_handler(s), which replaces the relevant function at the
> top of the event stack.
>
> 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