On Tue, Sep 4, 2012 at 12:33 PM, darkfeline <[email protected]> wrote:
> > > On Tuesday, September 4, 2012 1:24:51 AM UTC-4, Nathan wrote: > >> By the way, you can already remove handler(s) from the middle of the >> stack, providing you know exactly what callable was pushed onto it: >> >> http://pyglet.org/doc/api/**pyglet.event.EventDispatcher-** >> class.html#remove_handler<http://pyglet.org/doc/api/pyglet.event.EventDispatcher-class.html#remove_handler> >> > > This is not *quite* the same, since it leaves the frame, and you now have > an empty frame you have to keep track of and double-pop later > "remove_handlers" (plural) claims to remove the frame as well, if it's empty. http://pyglet.org/doc/api/pyglet.event.EventDispatcher-class.html#remove_handlers ~ Nathan -- 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.
