Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import*
- root = Tk()
- label1 = Label(root, text="Username:")
- label2 = Label(root , text="Password:")
- label1.grid(row=0, sticky=E)
- label2.grid(row=1, sticky=E)
- entry1 = Entry(root)
- entry2 = Entry(root)
- entry1.grid (row=0, column=1)
- entry2.grid (row=1, column=1)
- checkbox_1 = Checkbutton(root, text="Keep me logged in.")
- checkbox_1.grid(columnspan=2)
- root.mainloop()
Add Comment
Please, Sign In to add comment