Miki wrote: > 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 <[EMAIL PROTECTED]> > http://pythonwise.blogspot.com
If you click on the PythonLauncher application that runs in your dock when this script is executed, the window comes into focus fine. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list