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