So, to clarify, you would like to have a full-functioning event loop, but also enough interface into it to create your own event loop without breaking things like media, sleep timers, etc? I've thought about this issue before, and I guess the wall I ran into was trying to justify all the work exposing parts that would enable custom loops. Nevertheless, if we are on the same page here, I have some ideas to address the issue.
On Wednesday, October 28, 2015 at 4:06:14 PM UTC-5, Rob wrote: > I did not really think about how the refactoring should be done. But while > going over the code I noticed that the introduction of the new event system > and the event loop was never completely finished. The major issue is that > behaviour is different when using the event loop instead of calling > dispatch_events manually. At least in the Window code. > > We need to think whether we still want to support using a custom event > loop. For the media subcomponent that currently does not work. Then also it > should be made in a way that the code responds in the same way. > > Rob > > Op maandag 26 oktober 2015 18:31:42 UTC+1 schreef Leif Theden: >> >> This is mostly directed at Rob, but I thought it might be useful to get >> input from others on this issue. According to the 1.3 roadmap, there is an >> item to "refactor event handling". This is something that I am willing to >> take up and implement in order to speed up the release. >> >> So, my questions are: >> >> - What is to be done about the event handling? >> - Are there any existing resources that outline goals for the event >> handler in the 1.3 release? >> - Are there any API changes? >> >> >> https://bitbucket.org/pyglet/pyglet/wiki/Roadmap >> > -- 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/d/optout.
