Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App, Box, PushButton, ListBox
- app = App()
- small_box = Box(app,width = 50, height= 50)
- not_so_box = Box(app,width = 150, height= 150)
- large_box = Box(app,width = 350, height= 350)
- button1 = PushButton(small_box,text="small")
- button2 = PushButton(not_so_box,text="Not So Small")
- lb_mylist = ListBox(large_box,items = ["Large", "Beef", "Beefy", "Beefier", "Beefiest"])
- app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement