Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from guizero import App, Box, PushButton
- app = App()
- box = Box(app, align="left", width="fill", border=2)
- button = PushButton(box)
- button1 = PushButton(box, text="another button")
- app.display()
- ERROR:
- Traceback (most recent call last):
- File "c:\users\borto\mu_code\myapp.py", line 3, in <module>
- box = Box(app, align="left", width="fill", border=2)
- TypeError: __init__() got an unexpected keyword argument 'width'
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement