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

Skip to content

Commit cfe86cc

Browse files
Alejandro Garcíatacaswell
authored andcommitted
Add Qt backend support for super key
1 parent 8682cf6 commit cfe86cc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/matplotlib/backends/backend_qt5.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
QtCore.Qt.Key_Shift: 'shift',
2727
QtCore.Qt.Key_Alt: 'alt',
2828
QtCore.Qt.Key_Meta: 'meta',
29+
QtCore.Qt.Key_Super_L: 'super',
30+
QtCore.Qt.Key_Super_R: 'super',
2931
QtCore.Qt.Key_Return: 'enter',
3032
QtCore.Qt.Key_Left: 'left',
3133
QtCore.Qt.Key_Up: 'up',

0 commit comments

Comments
 (0)