[Pythonmac-SIG] passing along cmd-key presses

Jack Nutting jn_list at rebisoft.com
Fri May 28 07:57:52 EDT 2004


I'm working on a game using pygame.  Thanks to some sample code from 
Bob, I've managed to connect a proper .nib file.  However, my code 
seems to grab all keystrokes, so that for example cmd-Q doesn't quit 
the application, but gets picked up as a "q" press by my code.  Do I 
need to somehow check for the status of the cmd keys, so that I can 
somehow pass along cmd-key presses to the Cocoa event loop?

//jack




More information about the Pythonmac-SIG mailing list