Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. from guizero import App, Box, PushButton, ListBox
  2. app = App()
  3. small_box = Box(app,width = 50, height= 50)
  4. not_so_box = Box(app,width = 150, height= 150)
  5. large_box = Box(app,width = 350, height= 350)
  6. button1 = PushButton(small_box,text="small")
  7. button2 = PushButton(not_so_box,text="Not So Small")
  8. lb_mylist = ListBox(large_box,items = ["Large", "Beef", "Beefy", "Beefier", "Beefiest"])
  9. app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement