[Tkinter-discuss] Keeping keyboard focus when window iconified (Win XP) ?
francois.schnell at gmail.com
Tue Jan 10 12:12:31 CET 2006
I'm doing a small program to capture screenshots.
But obviously I don't wan my GUI to be visible during the sreenshots and I
want to continue to take sreenshots (with my key binding) even when the
program doesn't have the main focus anymore.
I'm running Python 2.4 on Win XP Family.
Do you have an idea how I could do this ?
Thanks in advance
import sys, os, msvcrt, Image, ImageGrab
from Tkinter import *
from os import chdir
print " screen !"
name = "session1picture"
name= name + str(i)
buQuit=Button(fen1, width= 20, text='Quitter',command=exitapp)
bu12=Button(fen1, text='invisible', command=invisible)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tkinter-discuss