Stack Exchange
Stack Overflow
Questions
Tags
Users
About
Stack Overflow
Public
Questions
Tags
Users
About
how to disable the X button from tkinter window in python
Asked
Feb 07 '23 at 09:23
Active
Feb 07 '23 at 09:44
Viewed
26 times
0
Disable the X-button for the window after button click event done.
python
tkinter
edited Feb 07 '23 at 09:44
toyota Supra
3,181
4
15
19
asked Feb 07 '23 at 09:23
Vignesh Vangala
1
4
1
Thanks. it worked. '''def disable_event(): pass root.protocol("WM_DELETE_WINDOW", disable_event)'''
–
Vignesh Vangala
Feb 07 '23 at 09:48
0 Answers
0