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

/pyjs/tests/test010.py

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