Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. from tkinter import *
  2. from tkinter import ttk
  3.  
  4. def func(e):
  5. pass
  6.  
  7. root = Tk ()
  8. root.geometry("800x600+400+300")
  9.  
  10.  
  11. b = ttk.Button()
  12. b.configure(text="Натисни мене")
  13. b.place(x=100, y=100, height=50, width=100)
  14. b.bind("<Button-1>", func)
  15.  
  16. a = Entry()
  17. a.configure(font="Arial 20",justify="center")
  18. a.place(x=120, y=300, height=50, width=200)
  19.  
  20.  
  21. l = Label()
  22. l.configure(font="Arial 20",justify="center")
  23. l.place(x=320, y=300, height=50, width=200)
  24.  
  25. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement