0

Can I remove an exit button on Tkinter?

I wanna make an Inexhaustible Tkinter window. I used this code:

import tkinter as tk

root = tk.Tk()

def on_closing():
   pass

root.protocol("WM_DELETE_WINDOW", on_closing)
root.mainloop()

is there a way for the REMOVING exit button

dripis
  • 43
  • 1
  • 7

0 Answers0