Open
Description
Hi,
could you had an empty loop event function for HandledWindow ? HandledWindow can't handle events if you haven't a loop event, and since you don't inherit from window, we can't use pollEvent.
Here is the code to add to HandledWindow :
def empty_event_loop(self):
cdef sf.Event *p = new sf.Event()
while self.p_window.pollEvent(p[0]):
pass
del p
Thanks !
Metadata
Metadata
Assignees
Labels
No labels