Michael Lange napsal(a):
Hi Michael,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. I am afraid it doesnt work, at least as I can understand it. I still can activate the root window. from Tkinter import * def OK(): top=Toplevel(root) top.transient(root) top.focus() helpText=Label(top,text="Help") helpText.pack() top.mainloop() root=Tk() helpButton=Button(text="Help", command=OK) helpButton.pack() root.mainloop() -- (w2000, py2.4) Pavel Kosina |
_______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
