Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   tkinter: window always over the rest (http://www.velocityreviews.com/forums/t330192-tkinter-window-always-over-the-rest.html)

=?ISO-8859-1?Q?Vicente_Palaz=F3n_Gonz=E1lez?= 04-23-2004 08:33 AM

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?


klappnase 04-23-2004 02:48 PM

Re: tkinter: window always over the rest
 
Vicente Palazón González <vpalazon@terra.es> wrote in message news:<c6akde$4u5$2@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


All times are GMT. The time now is 12:46 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.