Disabling Escape Key?

Aaron Mavrinac <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <CAJqNogdH-0Op55NKofgTj-Dxz_6H0cnscGG3rxo10uDrWoov4Q@mail.gmail.com>
Simple question. Is it possible to disable the functionality of the
escape key (i.e. summarily shutting down my application) from within
Python? Setting scene.exit = False appears to stop it from exiting the
program entirely, but it still destroys the display window, and there
doesn't appear to be any way to get it back.*

My application involves interactive use over extended periods of time,
and accidentally hitting ESC in the middle of a run -- often an
intuitive thing to do, even for myself, the author of the software --
is a frustrating experience, to say the least.

Thanks!


* I am using Visual 5.4 on Gentoo Linux.

-- 
Aaron Mavrinac
www.mavrinac.com

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.