What is the event for the Windows key in Tkinter? I'm using Linux, but I would like answers for both Linux and Windows. If Mac has a similar key, feel free to let me know the binding for it. I imagine there are different events for the left and right windows keys.
The windows key doesn't seem to register in my program that is supposed to catch all key presses and print what they are to the screen. I haven't seen an answer in my searches online. I've seen references to Mod4 being associated with the Windows key, but that's not a proper Tkinter event (so says my error):
_tkinter.TclError: bad event type or keysym "Mod4"
E.g. the following code gets the above error.
textWidget.bind("<Mod4>", self.myFunction)