-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
MacOS backend modifier keys #1259
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
Comments
I've been looking into this. The problem is the |
There is no urgency on this IMHO. It is a thing that we would love to have done, but ultimately, will only get done if somebody really needs it (and is motivated to do it!). Personally, I wouldn't be concerned if this didn't get in until 1.3. |
key_press_event for FigureCanvasMac is implemented in in the C code in _macosx.m in the keyDown method. Probably it's not difficult to add modifiers to it. Any volunteers? |
I started a local branch for this and never got round to finishing it. I'm happy to volunteer to do it, but I'd like to get some of my current pull requests completed before creating more unfinished pieces of work. |
(Please don't let that prevent anybody else from writing a patch. I can't find my branch anyway!) |
Added a patch for this in #1841 |
Fixes issue #1259 - Added modifier key handling for macosx backend
#1841 merged; closing. |
Wooho thanks @cimarronm! |
The MacOS backend does not currently have modifier key support such as that available in TkAgg, GtkAgg, WxAgg, QT4Agg etc.
A simple test: Create a figure and try hitting ctrl+w
Note: Follows on from #851.
The text was updated successfully, but these errors were encountered: