Advertisement
Guest User

Boxes.py

a guest
Dec 9th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. #!/usr/bin/python3
  2.  
  3. # Boxes
  4. from guizero import App,Box,Text,CheckBox,\
  5.                     Combo,ListBox,Picture,PushButton,TextBox
  6.  
  7. app = App()
  8. box0 = Box(app,align="left",width="fill",border=2)
  9. button0 = PushButton(box0)
  10.  
  11. box1 = Box(app,align="right",width="fill",border=2)
  12. text1 = Text(box1,text="Box 1")
  13.  
  14. box2 = Box(app,align="bottom",width="fill",border=2)
  15. chk2 = CheckBox(box2,text="Box 2")
  16.  
  17.  
  18. app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement