Home > other >  Python tkinter questions about cancel the title bar of the method
Python tkinter questions about cancel the title bar of the method

Time:09-27

As is known to all, the code root. Overrideredirect (True) have to cancel the effect of the title bar, but also hides the frame at the same time, this problem is to explore how to remove the title bar, on the basis of retain the window frame of
The code
import tkinter as tk
Win=tk. Tk ()
Win. Overrideredirect (True)
Win the mainloop ()
  • Related