I'd still be inclined to give push_handlers as the primary way of doing things, and describe the decorator syntax as the "alternative". 90% of problems I see with first-timers on Pyglet come from misuse of the decorator approach to event handling.
Martin On 9 July 2010 04:55, Richard Jones <[email protected]> wrote: > On Thu, Jul 8, 2010 at 8:13 PM, Martin O'Leary <[email protected]> wrote: >> One little comment though, on the pyglet side, you mention the >> @window.event style of attaching event handlers, but not the >> window.push_handlers style. > > Good point. I've added a bit on that. > > > Richard > > -- > 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. > > -- 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.
