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

Getting mouse input #240

Closed
cfitz25 opened this issue Feb 7, 2021 · 1 comment
Closed

Getting mouse input #240

cfitz25 opened this issue Feb 7, 2021 · 1 comment

Comments

@cfitz25
Copy link

cfitz25 commented Feb 7, 2021

Hello, is there anyway to get the mouses current position and if a button is pressed? Pretty much just interaction events in general i guess.
I see the mouses position shows in the window but i require access to it programmatically.

@timholy
Copy link
Member

timholy commented Feb 7, 2021

This is covered in the docs for GtkReactive, and the needed bits of data are in the returned Dict.

@timholy timholy closed this as completed Feb 7, 2021
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

2 participants