SHARE
TWEET

Untitled

a guest Feb 27th, 2020 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top