Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > tkinter: window always over the rest

Reply
Thread Tools

tkinter: window always over the rest

 
 
=?ISO-8859-1?Q?Vicente_Palaz=F3n_Gonz=E1lez?=
Guest
Posts: n/a
 
      04-23-2004
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?

 
Reply With Quote
 
 
 
 
klappnase
Guest
Posts: n/a
 
      04-23-2004
Vicente Palazón González <(E-Mail Removed)> wrote in message news:<c6akde$4u5$(E-Mail Removed)>...
> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Always Looking Over Your Shoulder... Lawrence D'Oliveiro NZ Computing 0 02-04-2010 04:05 AM
VOIP over VPN over TCP over WAP over 3G Theo Markettos UK VOIP 2 02-14-2008 03:27 PM
File copy always interrupted over wireless network =?Utf-8?B?TWF0cml4Y3ViZWQ=?= Wireless Networking 1 02-28-2005 06:00 PM
window to window communication (window.opener) Andrew Bewley via DotNetMonster.com ASP .Net 0 02-03-2005 12:59 PM
Trying to create a CSS box that is always is always the width of an image placed inside it (and no wider) Deryck HTML 4 06-22-2004 08:25 PM



Advertisments