[Tutor] Get keyboard input while other program is in focus?

Luke Paireepinart rabidpoobear at gmail.com
Mon Oct 16 16:56:42 CEST 2006


Jack wrote:
> What commands can I use to have the program know a certain key has 
> been pressed while another program is in focus?
>  
I think Pygame and TKInter have a capture-all-keys function, but this 
might also prevent the keypresses from actually going to the target 
application.

> thanks,
>     Jack
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>   



More information about the Tutor mailing list