Tkinter: Lifting window to top?

Mark 'Kamikaze' Hughes kamikaze at kuoi.asui.uidaho.edu
Fri Jun 15 20:29:33 EDT 2001


Mon, 11 Jun 2001 08:11:20 GMT in <1103_992247080 at merak>,
Alexander Loehr <alex at pad.zuken.de> spake:
> I create a toplevel window and display it on the screen. On Unix
> everthing works fine. But on WinNT my window is behind all other
> windows. How can I lift it? The function lift doesn't work.

  `top.tkraise()` does what you want.  If you want to raise it just
above one particular other window, use `top.tkraise(aboveThis=other)`.

-- 
 <a href="http://kuoi.asui.uidaho.edu/~kamikaze/"> Mark Hughes </a>
"I will tell you things that will make you laugh and uncomfortable and really
fucking angry and that no one else is telling you.  What I won't do is bullshit
you.  I'm here for the same thing you are.  The Truth." -Transmetropolitan #39



More information about the Python-list mailing list