[wxPython-users] unregistering hot key does not work

Robin Dunn robin at alldunn.com
Mon Sep 4 10:46:52 PDT 2006


jeremy alexander wrote:
> Hi,
> 
> I'm trying to implement a feature where a hotkey is
> only enabled temporarily.  
> I have no trouble enabling the hotkey by registering
> it.  However, the unregister method always returns
> fail and the hotkey is still active.
> 
> A test program is below.  It enables the Escape key to
> be a hotkey and then for test purposes it immediately
> tries to disable it.  The print results indicate that
> the unregistering failed.  If you press escape
> anywhere on the console after the radiobox is
> displayed, the hotkey handler prints a message
> indicating that the escape key is still a hotkey

I think that there has already been a bug report submitted for this.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list