In this tutorial, we will make Signup Window Design using Tkinter. We will take some basic information from user like Name, Email, Password, Gender etc. Please check following code of signup window.
Signup Window Code:
registerScreen.title("Registration Here")
registerScreen.geometry('500x500')
label = Label(registerScreen, text="Registration Here",width=20,fg="blue",font=("bold", 20))
label.place(x=90,y=53)
nameLabel = Label(registerScreen, text="FullName",width=20,font=("bold", 10))
nameLabel.place(x=80,y=130)
nameEntery = Entry(registerScreen,textvar=nameVar)
nameEntery.place(x=240,y=130)
emailLabel = Label(registerScreen, text="Email",width=20,font=("bold", 10))
emailLabel.place(x=68,y=180)
emailEntry = Entry(registerScreen,textvar=emailVar)
emailEntry.place(x=240,y=180)
passLabel = Label(registerScreen, text="Password",width=20,font=("bold", 10))
passLabel.place(x=78,y=230)
passEntry = Entry(registerScreen,textvar=passVar,show='*')
passEntry.place(x=240,y=230)
genderLabel = Label(registerScreen, text="Gender",width=20,font=("bold", 10))
genderLabel.place(x=70,y=280)
Radiobutton(registerScreen, text="Male",padx = 5, variable=genderVar, value=1).place(x=235,y=280)
Radiobutton(registerScreen, text="Female",padx = 20, variable=genderVar, value=2).place(x=290,y=280)
labelLanguage = Label(registerScreen, text="Programming",width=20,font=("bold", 10))
labelLanguage.place(x=88,y=325)
Checkbutton(registerScreen, text="java", variable=javaVar).place(x=238,y=325)
Checkbutton(registerScreen, text="python", variable=pythonVar).place(x=310,y=325)
Button(registerScreen, text='Submit',width=20,bg='blue',fg='white',pady=5,command=addNew).place(x=180,y=380)
We have learned about each Tkinter object in Tkinter tutorials. In case you haven’t learn Tkinter library please learn it first.