Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Set guiEvent where applicable for gtk4. #28975

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

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Oct 13, 2024

In particular, I did not set them for figure_enter_event and figure_leave_event because gtk4 appears leave
controller.get_current_event() as None for them.

Closes #28962.

PR summary

PR checklist

@timhoffm
Copy link
Member

In particular, I did not set them for figure_enter_event and figure_leave_event because gtk4 appears leave controller.get_current_event() as None for them.

The result of setting or not setting is None here. I'd slightly prefer calling that function nevertheless for enter/leave and let it be an an implementation within gtk4 whether they expose an event or not.

@anntzer
Copy link
Contributor Author

anntzer commented Oct 15, 2024

Sure, done.

@QuLogic QuLogic added this to the v3.10.0 milestone Oct 16, 2024
@QuLogic
Copy link
Member

QuLogic commented Oct 16, 2024

AppVeyor failure is Tk, Azure is the usual Homebrew/runner image mismatch, and stubtest is #28978.

@QuLogic QuLogic merged commit 25a05f2 into matplotlib:main Oct 16, 2024
38 of 43 checks passed
@anntzer anntzer deleted the g4ge branch October 16, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: gtk4 backend does not set guiEvent attribute
3 participants