Tkinter OSX and "lift"

Miki miki.tebeka at gmail.com
Thu Feb 21 00:17:17 EST 2008


Hello,

Tk.lift doesn't seem to work on OSX (Python 2.5.1).
The below starts OK, but the window is the behind all other windows.

from Tkinter import *

root = Tk()
Button(root, text="OK", command=root.quit).pack()
root.lift()
root.mainloop()

Any ideas how to tell the window to start as the topmost window?

Thanks,
--
Miki <miki.tebeka at gmail.com>
http://pythonwise.blogspot.com



More information about the Python-list mailing list