Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.60 KB | None | 0 0
  1. from guizero import *
  2. app = App()
  3.  
  4. box = Box(app, align="left", width="fill", border=1)
  5. button = PushButton(box)
  6. button1 = PushButton(box, text="another button")
  7. checkbox = CheckBox (box, text="challenge left")
  8.  
  9. box1 = Box(app, align="top", width="fill", border=3)
  10. button2 = PushButton(box1)
  11. button3 = PushButton(box1, text="another button")
  12. checkbox1 = CheckBox (box1, text="challenge top")
  13.  
  14.  
  15. box2 = Box(app, align="right", width="fill", border=4)
  16. button4 = PushButton(box2)
  17. button5 = PushButton(box2, text="another button")
  18. checkbox1 = CheckBox (box2, text="challenge right")
  19.  
  20.  
  21. app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement