Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. from guizero import App, Box, PushButton
  2. app = App()
  3. box = Box(app, align="left", width="fill", border=2)
  4. button = PushButton(box)
  5. button1 = PushButton(box, text="another button")
  6. app.display()
  7.  
  8. ERROR:
  9.  
  10. Traceback (most recent call last):
  11. File "c:\users\borto\mu_code\myapp.py", line 3, in <module>
  12. box = Box(app, align="left", width="fill", border=2)
  13. TypeError: __init__() got an unexpected keyword argument 'width'
  14. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement