/examples/mail/Tasks.py
Python | 14 lines | 12 code | 2 blank | 0 comment | 0 complexity | 1c106bc972f51e4c9d1fc6eecaf0c169 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
- from ui import CheckBox, Composite, VerticalPanel
- class Tasks(Composite):
- def __init__(self):
- panel = VerticalPanel()
- panel.add(CheckBox("Get groceries"))
- panel.add(CheckBox("Walk the dog"))
- panel.add(CheckBox("Start Web 2.0 company"))
- panel.add(CheckBox("Write cool app in GWT"))
- panel.add(CheckBox("Get funding"))
- panel.add(CheckBox("Take a vacation"))
- self.initWidget(panel)
- self.setStyleName("mail-Tasks")