Skip to content

Commit 7819b0e

Browse files
committed
DOC: Add macosx keypress events to the documentation
1 parent a88e278 commit 7819b0e

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

doc/users/explain/event_handling.rst

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -82,29 +82,28 @@ Event name Class Description
8282
you may encounter inconsistencies between the different user interface
8383
toolkits that Matplotlib works with. This is due to inconsistencies/limitations
8484
of the user interface toolkit. The following table shows some basic examples of
85-
what you may expect to receive as key(s) from the different user interface toolkits,
86-
where a comma separates different keys:
87-
88-
============== ============================= ============================== ============================== ============================== ==============================
89-
Key(s) Pressed WxPython Qt WebAgg Gtk Tkinter
90-
============== ============================= ============================== ============================== ============================== ==============================
91-
Shift+2 shift, shift+2 shift, " shift, " shift, " shift, "
92-
Shift+F1 shift, shift+f1 shift, shift+f1 shift, shift+f1 shift, shift+f1 shift, shift+f1
93-
Shift shift shift shift shift shift
94-
Control control control control control control
95-
Alt alt alt alt alt alt
96-
AltGr Nothing Nothing alt iso_level3_shift iso_level3_shift
97-
CapsLock caps_lock caps_lock caps_lock caps_lock caps_lock
98-
A a a A A A
99-
a a a a a a
100-
Shift+a shift, A shift, A shift, A shift, A shift, A
101-
Shift+A shift, A shift, A shift, a shift, a shift, a
102-
Ctrl+Shift+Alt control, ctrl+shift, ctrl+alt control, ctrl+shift, ctrl+meta control, ctrl+shift, ctrl+meta control, ctrl+shift, ctrl+meta control, ctrl+shift, ctrl+meta
103-
Ctrl+Shift+a control, ctrl+shift, ctrl+A control, ctrl+shift, ctrl+A control, ctrl+shift, ctrl+A control, ctrl+shift, ctrl+A control, ctrl+shift, ctrl+a
104-
Ctrl+Shift+A control, ctrl+shift, ctrl+A control, ctrl+shift, ctrl+A control, ctrl+shift, ctrl+a control, ctrl+shift, ctrl+a control, ctrl+shift, ctrl+a
105-
F1 f1 f1 f1 f1 f1
106-
Ctrl+F1 control, ctrl+f1 control, ctrl+f1 control, ctrl+f1 control, ctrl+f1 control, ctrl+f1
107-
============== ============================= ============================== ============================== ============================== ==============================
85+
what you may expect to receive as key(s) (using a QWERTY keyboard layout)
86+
from the different user interface toolkits, where a comma separates different keys:
87+
88+
================ ============================= ============================== ============================== ============================== ============================== ===================================
89+
Key(s) Pressed WxPython Qt WebAgg Gtk Tkinter macosx
90+
================ ============================= ============================== ============================== ============================== ============================== ===================================
91+
Shift+2 shift, shift+2 shift, @ shift, @ shift, @ shift, @ shift, @
92+
Shift+F1 shift, shift+f1 shift, shift+f1 shift, shift+f1 shift, shift+f1 shift, shift+f1 shift, shift+f1
93+
Shift shift shift shift shift shift shift
94+
Control control control control control control control
95+
Alt alt alt alt alt alt alt
96+
AltGr Nothing Nothing alt iso_level3_shift iso_level3_shift
97+
CapsLock caps_lock caps_lock caps_lock caps_lock caps_lock caps_lock
98+
CapsLock+a caps_lock, a caps_lock, a caps_lock, A caps_lock, A caps_lock, A caps_lock, a
99+
a a a a a a a
100+
Shift+a shift, A shift, A shift, A shift, A shift, A shift, A
101+
CapsLock+Shift+a caps_lock, shift, A caps_lock, shift, A caps_lock, shift, a caps_lock, shift, a caps_lock, shift, a caps_lock, shift, A
102+
Ctrl+Shift+Alt control, ctrl+shift, ctrl+alt control, ctrl+shift, ctrl+meta control, ctrl+shift, ctrl+meta control, ctrl+shift, ctrl+meta control, ctrl+shift, ctrl+meta control, ctrl+shift, ctrl+alt+shift
103+
Ctrl+Shift+a control, ctrl+shift, ctrl+A control, ctrl+shift, ctrl+A control, ctrl+shift, ctrl+A control, ctrl+shift, ctrl+A control, ctrl+shift, ctrl+a control, ctrl+shift, ctrl+A
104+
F1 f1 f1 f1 f1 f1 f1
105+
Ctrl+F1 control, ctrl+f1 control, ctrl+f1 control, ctrl+f1 control, ctrl+f1 control, ctrl+f1 control, Nothing
106+
================ ============================= ============================== ============================== ============================== ============================== ===================================
108107

109108
Matplotlib attaches some keypress callbacks by default for interactivity; they
110109
are documented in the :ref:`key-event-handling` section.

0 commit comments

Comments
 (0)