/pyjs/tests/test011.py
Python | 6 lines | 5 code | 1 blank | 0 comment | 0 complexity | 7c822f4a32f3247e94e9b05dd7f6a43c MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
- from ui import Button, RootPanel
- class Hello:
- def onModuleLoad(self):
- b = Button("Click me")
- RootPanel().add(b)