Hi, so basically I have an application with a square in the middle that 
blinks at a certain frequency. The frequency is determined by 
pyglet.clock.schedule_interval(Blinker, Rate). It basically calls the 
function Blinker at the time interval of Rate. Now, I have @window.event 
section, where I have defined on_draw(). Everything works fine, except that 
on_draw() is triggered on every window event, including hovering the mouse 
over the window. How do I disable all window events, except the function 
call? Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyglet-users/-/ra7-0IDshGkJ.
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.

Reply via email to