Stealing focus: PIL

damonwischik at gmail.com damonwischik at gmail.com
Fri Nov 25 06:46:14 EST 2005


I'm using the Python Image Library (PIL) for Python 2.4.

If I have an image and I show it
  from PIL import Image
  im = Image.new('RGB',100,100)
  im.show()
then the output window steals focus. It's very handy to use
an image to show the progress of execution for my program,
but the computer is unusable when focus keeps on being stolen
every few seconds. How can I prevent Image.show() from stealing
focus?

Damon.




More information about the Python-list mailing list