/examples/browserdetect/BrowserDetect.py
Python | 11 lines | 8 code | 3 blank | 0 comment | 0 complexity | e609a7e34b5a102401decb48750503fe MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
- from ui import Label, RootPanel
- class BrowserDetect:
- def onModuleLoad(self):
- self.l = Label()
- RootPanel().add(self.l)
- self.display()
- def display(self):
- self.l.setText("Browser not detected/supported")