468,303 Members | 1,495 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,303 developers. It's quick & easy.

tkinter: window always over the rest

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
1 1396
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.

Similar topics

3 posts views Thread by DoubleM | last post: by
2 posts views Thread by Krzysztof Szynter | last post: by
2 posts views Thread by Michael Zhang | last post: by
1 post views Thread by Pekka Niiranen | last post: by
6 posts views Thread by Richard Lewis | last post: by
5 posts views Thread by annagel | last post: by
5 posts views Thread by H J van Rooyen | last post: by
44 posts views Thread by bg_ie | last post: by
4 posts views Thread by Simon Forman | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.