Here in this blog we can make the creative pages in tkinter for the entry section
So here are the following codes for that:-
from tkinter import *
user_form=Tk()
user_form.geometry("750x450")
user_form.title("Register form")
user_form.resizable(0,0)
pic1=PhotoImage(file="user_form.png")
user_form1=Label(user_form,image=pic1,width=750,height=450)
user_form1.image=pic1
user_form1.pack()
name_en=Entry(user_form,width=14,relief="flat",font=("times",20))
name_en.place(relx=0.385,rely=0.265)
user_en=Entry(user_form,width=19,relief="flat",font=("times",20))
user_en.place(relx=0.385,rely=0.365)
psswd_en=Entry(user_form,width=18,relief="flat",font=("times",20))
psswd_en.place(relx=0.385,rely=0.485)
pic3=PhotoImage(file="register.png")
but1=Button(user_form,image=pic3,relief="flat",background="white")
but1.image=pic3
but1.place(relx=0.425,rely=0.650)
user_form.mainloop()
Comments
Post a Comment