/examples/dynamictable/DynaTable.py
Python | 16 lines | 13 code | 3 blank | 0 comment | 2 complexity | c511247629b07be399ae0705e737d9b2 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
1from ui import RootPanel 2from DayFilterWidget import DayFilterWidget 3from SchoolCalendarWidget import SchoolCalendarWidget 4 5class DynaTable: 6 7 def onModuleLoad(self): 8 slot = RootPanel("calendar") 9 if slot: 10 calendar = SchoolCalendarWidget(15) 11 slot.add(calendar) 12 13 slot = RootPanel("days") 14 if slot: 15 filterWidget = DayFilterWidget(calendar) 16 slot.add(filterWidget)