On Sat, 08 Apr 2006 19:10:54 +0200
Pavel Kosina <[EMAIL PROTECTED]> wrote:

> How to make Toplevel window (with some options to be set in it) to stay 
> really on top unless its button OK (destroy) is pressed? In other words  
> - its parent couldnt be activated.
> 

Hi Pavel,

you need to call the Toplevel's transient() method:

>>> from Tkinter import *
>>> r=Tk()
>>> t=Toplevel(r)
>>> t.transient(r)

HTH

Michael
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to