Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App, Box, PushButton, Text,ButtonGroup
- app = App()
- box = Box(app, align="left", width="fill", border=2)
- button = PushButton(box)
- button1 = PushButton(box, text="another button")
- box1 = Box(app, align="center", width=125, height=190, border=4)
- button = PushButton(box1)
- button1 = PushButton(box1, text="another button")
- box2 = Box(box, align="right", width="fill", border=1)
- button = PushButton(box2)
- button1 = PushButton(box2, text="another button")
- message2 = Text(box2, text="Choose a colour?")
- txt_colour = ButtonGroup(box1, options=["Red", "Green", "White"])
- app.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement