PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/pyjs/tests/test011.py

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