Hello, I was wondering if there is a cross-platform way that a custom idle loop can determine if it has been awoken because of a GUI event, or because of a clock event.
Basically, I need to run the event loop at like 30Hz to deal with some non-GUI IO issues, but I don't want to force the windows to all re- paint at that rate -- the windows need to re-paint at a much lower minimum framerate, or in response to GUI events. If the idle loop was able to determine the reason for its awakening, this sort of thing would be a bit easier... (Right now, I just have the idle loop never call on_draw on any windows, and instead make the window event handlers call on_draw if that event causes the window to need a repaint.) Thanks, Zach --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
