Skip to content

date_picker

pdwidgets.widgets.date_picker

DatePicker — month calendar grid; value is (y, m, d) or ISO string.

DatePicker(parent, x=0, y=0, w=None, h=None, align=None, align_to=None, fg=None, bg=None, visible=True, value=None, padding=None, weekdays=None)

Bases: Widget

Month calendar for selecting a date.

Month calendar. value is (y, m, d) or "YYYY-MM-DD". weekdays may override the short English labels.

draw(_=None)

Draw the month header and day grid.