enaml.widgets.date_selector

Classes

DateSelector A widget to edit a Python datetime.date object.
class enaml.widgets.date_selector.DateSelector(parent=None, **kwargs)[source]

Bases: enaml.widgets.bounded_date.BoundedDate

A widget to edit a Python datetime.date object.

A DateSelector displays a Python datetime.date using an appropriate toolkit specific control. This is a geometrically smaller control than what is provided by Calendar.

date_format

A python date format string to format the date for display. If If none is supplied (or is invalid) the system locale setting is used. This may not be supported by all backends.

calendar_popup

Whether to use a calendar popup for selecting the date.

hug_width

A date selector expands freely in width by default.

proxy

A reference to the ProxyDateSelector object.