I think the documentation is in error then. In the section on stacking states:
"As a convenience, the @event decorator can be used as an alternative to push_handlers:" THanks. On Feb 2, 3:57 pm, 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 -~----------~----~----~----~------~----~------~--~---
