Tkinter -- a window/dialog box that stays in front of everything else.
Stephen Kloder
stephenk at cc.gatech.edu
Thu Oct 26 08:17:12 EDT 2000
"Thaddeus L. Olczyk" wrote:
> The best example I have of this is the NT task manager ( I think the
> 98 task manager is similar ). What I want is to be stepping through
> one piece of code. At some line ( that I have to discover ) a second
> piece of code will be executed. In that second piece of code I
> want to popup a dialog box which I can't miss, so it has to be in
> front of everything else. Can anyone help?
There must be a cleaner way to do this, but this seems to do the trick:
window.tk.call('focus','-force',window)
window.tk.call('grab',window)
--
Stephen Kloder | "I say what it occurs to me to say.
stephenk at cc.gatech.edu | More I cannot say."
Phone 404-874-6584 | -- The Man in the Shack
ICQ #65153895 | be :- think.
More information about the Python-list
mailing list