On Mon, Jul 23, 2012 at 4:46 AM, anatoly techtonik <[email protected]> wrote: > Hi, > > What is the correct way to initiate window redraw?
If I understand correctly (correct me if I'm wrong, people), every Window's on_draw() function is called once each time the event "idle" loop runs. You could: 1) Call the window's on_draw() method manually if you want it called _more_ often. 2) Override the default idle policy of the event loop by subclassing it if you don't want it called exactly once per window per event loop. See [a]. [a] http://www.pyglet.org/doc/programming_guide/customising_the_event_loop.html#id108 ~ 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.
