Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App, Box, PushButton, Slider, ListBox
- app = App()
- box1 = Box(app, align="left", width=100, height=45, border=1)
- box2 = Box(app, align="left", width=150, height=60, border=2)
- box3 = Box(app, align="left", width=200, height=135, border=3)
- button1 = PushButton(box1)
- listb = ListBox(box2, height=50, width=50, items=["One", "Two", "Three"])
- slider = Slider(box3, start=1, end=10)
- app.display()
Add Comment
Please, Sign In to add comment