Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import *
- from tkinter import ttk
- def func(e):
- pass
- root = Tk ()
- root.geometry("800x600+400+300")
- b = ttk.Button()
- b.configure(text="Натисни мене")
- b.place(x=100, y=100, height=50, width=100)
- b.bind("<Button-1>", func)
- a = Entry()
- a.configure(font="Arial 20",justify="center")
- a.place(x=120, y=300, height=50, width=200)
- l = Label()
- l.configure(font="Arial 20",justify="center")
- l.place(x=320, y=300, height=50, width=200)
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement