Re: How to keep a Tkinter-Dialog on top of all other windows?
On Wed, Jul 02, 2003 at 10:44:43AM -0500, Joe Fromm wrote:
> Windows actually has two z-orders. Topmost windows and normal windows. All
> topmost windows are always above normal windows.
> So setting a window into the topmost group will keep it on top of your app
> with one call, but it will remain topmost even if another application is
> activated. If that is acceptable to you then setting it to topmost is
> indeed a simpler solution.
If you just want to enforce window stacking between two toplevels in
your application, you can use "wm transient" for this.
t = Tkinter.Tk()
u = Tkinter.Toplevel(t)
however, "wm transient" has other effects (TRANSIENT_STYLE, does not
appear on task bar, etc).
|All times are GMT. The time now is 07:04 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.