How To Create Frameless Window in TKinter Python GUI

from tkinter import *                                     #import tkinter library

root= Tk()                                                     #instance tkinter frame
root.geometry("800x350+450+86")            #size of window
root.config(bg="#CAFF70")                       # window background color 
lbl= Label(root, text= "This is Johny Hasan", font=('Time New Roman', 35,"bold"),                   
                fg="red")         #To Create Label

lbl.pack()
root.overrideredirect(True)             #This command make the window borderless
root.mainloop()

Write Down the  Code Your Code Editor. Press Shift+F10 and Show Your Output.




Post a Comment

Previous Post Next Post