PageRenderTime 17ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/examples/mail/Tasks.py

http://pyjamas.googlecode.com/
Python | 14 lines | 12 code | 2 blank | 0 comment | 0 complexity | 1c106bc972f51e4c9d1fc6eecaf0c169 MD5 | raw file
 1from ui import CheckBox, Composite, VerticalPanel
 2
 3class Tasks(Composite):
 4
 5    def __init__(self):
 6        panel = VerticalPanel()
 7        panel.add(CheckBox("Get groceries"))
 8        panel.add(CheckBox("Walk the dog"))
 9        panel.add(CheckBox("Start Web 2.0 company"))
10        panel.add(CheckBox("Write cool app in GWT"))
11        panel.add(CheckBox("Get funding"))
12        panel.add(CheckBox("Take a vacation"))
13        self.initWidget(panel)
14        self.setStyleName("mail-Tasks")