Thanks! That's exactly what I wanted. Didn't realize it was already there. Now I feel silly for reading the documentation but not the API reference. Well, thanks again!
On Tue, Jan 14, 2014 at 4:12 PM, "Juan J. Martínez" <[email protected]> wrote: > On 14/01/14 17:31, Henry Harrison wrote: > > [...] > > > > So in short, I'd really like to be able to do pop_handlers(logger). Is > > there a way to accomplish this now? Assuming no- is there a structural > > reason this can't happen? Maybe I could try to patch it in... > > I'm not sure if I understand what your want to do, but what about using > remove_handler to implement your pop_handler? > > > http://pyglet.org/doc-current/api/pyglet/event/pyglet.event.EventDispatcher.html#pyglet.event.EventDispatcher.remove_handler > > Regards, > > Juan > > -- > jjm's home: http://www.usebox.net/jjm/ > blackshell: http://blackshell.usebox.net/ > > -- > You received this message because you are subscribed to a topic in the > Google Groups "pyglet-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pyglet-users/2xqxp_qhyCY/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pyglet-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/groups/opt_out.
