/pyjs/tests/test011.py
http://pyjamas.googlecode.com/ · Python · 6 lines · 5 code · 1 blank · 0 comment · 0 complexity · 7c822f4a32f3247e94e9b05dd7f6a43c MD5 · raw file
- from ui import Button, RootPanel
- class Hello:
- def onModuleLoad(self):
- b = Button("Click me")
- RootPanel().add(b)