tkinter: window always over the rest

klappnase klappnase at web.de
Fri Apr 23 10:48:15 EDT 2004


Vicente Palazón González <vpalazon at terra.es> wrote in message news:<c6akde$4u5$2 at sofora02.uji.es>...
> Hi,
> 
> I'm programming an application with Tkinter on a Linux platform and
> I want to keep always a window over the rest of the windows of my 
> application, even if it loses its focus, any idea?


You could use the Toplevel window´s transient() method:

root = Tk()
t = Toplevel(root)
t.transient(root)
root.mainloop()

I hope this helps

Michael



More information about the Python-list mailing list