By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,222 Members | 2,354 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,222 IT Pros & Developers. It's quick & easy.

tkinter: window always over the rest

P: n/a
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?

Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Vicente Palazón González <vp******@terra.es> wrote in message news:<c6**********@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
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.