I have a Python script that creates a Tkinter window running in Ubuntu. In the script I have an if/else statement that changes the background color based on a variable. That all works. What I cannot figure out how to do is when it changes the background color, I also want it to unminimize the window if it is minimized to the tray at the time.
Thanks
Frank
aframe
1
Newbie Poster
Recommended Answers
Jump to PostI would approach this by looking documentation for way to generate restore window event in Tkinter. The program would behave the same as user had clicked the program unminimized (restored). Should be portable also.
Jump to PostActually this is more a function of the desktop, each of which has wrappers to perform this function. KDocker for KDE is only one that comes to mind right now but there are sure to be more, perhaps one or two that are not desktop specific.
All 7 Replies
aframe
1
Newbie Poster
TrustyTony
888
pyMod
Team Colleague
Featured Poster
aframe
1
Newbie Poster
woooee
814
Nearly a Posting Maven
aframe
1
Newbie Poster
TrustyTony
commented:
Nice to share your find
+1
TrustyTony
888
pyMod
Team Colleague
Featured Poster
woooee
814
Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.