Python Forum
How to edit Tkinter Minimize, Maximize, and Close Buttons
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to edit Tkinter Minimize, Maximize, and Close Buttons
#8
Ok i found out all
1.
Top.attributes('-toolwindow', True)
2.
def wd():
    Top.withdraw() 
    
Top.protocol("WM_DELETE_WINDOW", wd)
3.
try:
    top.winfo_exists()
except:
    print("Top Do not exist")
menator01 likes this post
Reply


Messages In This Thread
RE: How to edit Tkinter Minimize, Maximize, and Close Buttons - by kucingkembar - Apr-26-2024, 11:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Minimize function with SciPy PierreLCV 3 422 Apr-05-2024, 07:51 AM
Last Post: paul18fr
  How to Minimize ADB window OomKoos 0 439 Dec-29-2023, 12:41 PM
Last Post: OomKoos
  Closing Threads and the chrome window it spawned from Tkinter close button law 0 1,773 Jan-08-2022, 12:13 PM
Last Post: law
  Build a matrix by pressing buttons of an interface in Tkinter which extract data from juandiegopulla 1 2,030 Sep-13-2021, 07:28 PM
Last Post: deanhystad
  Can I minimize the code??? shantanu97 4 2,404 Mar-23-2021, 05:26 PM
Last Post: jefsummers
  Buttons or Radio Buttons on Tkinter Treeview draems 0 3,443 Oct-31-2017, 04:06 AM
Last Post: draems

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020