I spent a long time reading through past posts and didn't find quite what I need.
I'm making a kiosk-type window using tkinter. I set it to open fullscreen. I want to override the standard alt-f4 command to close it. I don't want it completely uncloseable though. I'd like to instead make up my own keyboard shortcut (alt-ctrl-g-3 or something like that).
I tried some of the suggestions for overriding alt-f4 and couldn't get them to work. In my init function I included:
self.bind('<Alt-Key-F4>', self.ignorekey())
.
.
.
def self.ignorekey(self)
pass