MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / make_days_layout

Function make_days_layout

PySimpleGUI/PySimpleGUI.py:21807–21814  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

popup_get_dateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected