I already know tkinter.Tk().attributes("-topmost", True)
which makes the window stay on top all the time. But is there some way to make the window stay at the bottom all the time? I mean something like tkinter.Tk().attributes("-bottommost", True)
or something like that.
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
No, there is no method in tkinter that forces the window to be below all other windows on the desktop.
There is not strictly a way to make a Tk window always underneath others. If your aim is to have a Tk application which cannot be seen, then you could achieve it by modiying the alpha value of the root window:
As this window is transparent, you could think of it as always underneath.