Comments (6)
@Sayad-Uddin-Tahsin
Use this:
root.attributes("-topmost", True)
from customtkinter.
@Sayad-Uddin-Tahsin Use this:
root.attributes("-topmost", True)
but it makes my window to overlap other windows! I don’t want so, but I want it to not disappeare once desktop button is clicked! It will always there in the Desktop ( All minimized). I hope you understood
from customtkinter.
@Sayad-Uddin-Tahsin Then simply use the overrideredirect method
root.overrideredirect()
from customtkinter.
@Sayad-Uddin-Tahsin Then simply use the overrideredirect method
root.overrideredirect()
Using root.overrideredirect()
also seems hides the windows on Desktop Button Press! Doesn’t it hide the top control bars? I am using it currently...
from customtkinter.
@Akascape Do you know any way to just detect the Desktop Button Click? so that I can force_focus
that on that event which will achieve the effect I'm looking for?
from customtkinter.
@Akascape Seems using this method:
def unminimize(window: ctk.CTk):
if not window.winfo_ismapped():
window.state('withdrawn')
window.state('normal')
window.attributes("-topmost", True)
window.attributes("-topmost", False)
root.bind("<Unmap>", lambda e: root.after(500, lambda: unminimize(root)))
does what I'm looking for but when using overrideredirect(True)
doesn't work! Is there any way you know to bypass the issue or any way and achieve what I wanted?
from customtkinter.
Related Issues (20)
- scrollable frame destroy() still hasn't fixed yet
- Request: Separator
- segmented button command error HOT 1
- Vertical Progressbar rendering bug HOT 2
- Scrollable Frame HOT 1
- button anchor
- Make Scrollable frame and option menu better HOT 2
- Combobox bind in keyboard keys Dropdown menu
- How do I add an image to a button? HOT 1
- CTkTabview allowing to change tabs when CTkTabview_obj.configure(state="disable")
- Issues with crashing - tcl86t.dll on Customtkinter 5.2.2
- Adding label inside progress bar
- Remove Border OptionMenue HOT 1
- Label automatically gives y-padding using grid
- Unable to update text with .configure(text='new text') HOT 2
- creating themes could be easier HOT 1
- ScrollableFrames do not destroy properly. HOT 1
- Cant change icon! HOT 1
- Failed to launch on windows7 when using padx/pady. HOT 2
- Creating a sidebar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from customtkinter.