()
| 21805 | window[(offset // 7, offset % 7)].update(str(day) if day else '') |
| 21806 | |
| 21807 | def make_days_layout(): |
| 21808 | days_layout = [] |
| 21809 | for week in range(6): |
| 21810 | row = [] |
| 21811 | for day in range(7): |
| 21812 | row.append(T('', size=(4, 1), justification='c', font=day_font, key=(week, day), enable_events=True, pad=(0, 0))) |
| 21813 | days_layout.append(row) |
| 21814 | return days_layout |
| 21815 | |
| 21816 | # Create table of month names and week day abbreviations |
| 21817 |