Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to emulate events in an offscreen canvas #54

Open
almarklein opened this issue Jan 24, 2025 · 0 comments
Open

Make it possible to emulate events in an offscreen canvas #54

almarklein opened this issue Jan 24, 2025 · 0 comments

Comments

@almarklein
Copy link
Member

almarklein commented Jan 24, 2025

There is canvas.submit_event() that was added for this purpose, but I'm actually not sure if the offscreen canvas emits its events properly, since it does not have a proper loop.

Let's add some tests to make sure emulating tests is possible. Then downstream code can use event-emulation to test some of their interaction logic.

Ref fastplotlib/fastplotlib#705

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant