Open ketaminehigh opened 2 years ago
I added an alt+tab in the minimize function, it's an improvisation, but I haven't found a better solution so far
user32 = windll.user32
def minimize_me():
root.attributes("-alpha",0) # so you can't see the window when is minimized
user32.keybd_event(0x12, 0, 0, 0) #Alt
user32.keybd_event(0x09, 0, 0, 0) #Tab
user32.keybd_event(0x09, 0, 2, 0) #~Tab
user32.keybd_event(0x12, 0, 2, 0) #~Alt
root.minimized = True
Try Titleman https://pypi.org/project/Titleman/0.1/
After pressing minimize button the app goes to the taskbar as expected. However, when I press the icon to maximize it back, nothing happens.
I figured it stays active the whole time (it is highlighted on the taskbar). When I press somewhere else (desktop, some folder) and the app gets deactivated, I am able to maximize it by clicking the icon. Is it normal behavior or did I mess something up?