Control Shift S tkinter

Petr Laškevič
Petr Laškevič used Ask the Experts™
on
With Python I can bind events and functions. This following piece of code calls a  function save everytime I press Ctrl and s key:
 root.bind('<Control-s>',save)

Open in new window

How can I bind pressing Ctrl + Shift + S with a function using  tkinter?
this doesn't work:
root.bind('<Control-Shift-s>',save)

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I found that this works as expected:
root.bind('<Control-S>',save)

Open in new window

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial