Python Tkinter deiconify withdrawn window with a keyboard shortcut

Viewed 225

Is there a way to withdraw a window and deiconify it using a keyboard shortcut? If I do something like: root.bind("<Control-q>", lambda event: root.deiconify()), it doesn't trigger when the window is withdrawn. If there isn't a way to do it with Tkinter, is there a module that works on Windows that will allow me to do that?

1 Answers
Related