Tkinter Rounded Label
Tkinter Rounded Label
from tkinter import *
root = Tk()
w=root.winfo_screenwidth()
h=root.winfo_screenheight()
root.overrideredirect(True)
root.geometry(str(w)+"x"+str(h)+"+0+0")
bg = PhotoImage(file = "Bg.png")
label1 = Label(root, image = bg)
label1.place(x = 0, y = 0)
label2 = Label(label1,text='Rounded Bg Label' ,bg='white',fg='red' ,font=('Arial',15,'bold'))
label2.place(x=180,y=120)
label3 = Label(label1,text='In Tkinter' ,bg='white',fg='orange' ,font=('Arial',15,'bold'))
label3.place(x=350,y=250)
label4 = Label(label1,text='CODING VODING' ,bg='white',fg='purple' ,font=('Arial',15,'bold'))
label4.place(x=210,y=1800)
root.mainloop()
Download This image
Comments
Post a Comment