enaml.widgets.bounded_date

Classes

BoundedDate

A base class for components which edit a Python datetime.date object bounded between minimum and maximum values.

class enaml.widgets.bounded_date.BoundedDate(parent=None, **kwargs)[source]

Bases: enaml.widgets.control.Control

A base class for components which edit a Python datetime.date object bounded between minimum and maximum values.

This class is not meant to be used directly.

minimum

The minimum date available in the date edit. If the minimum value is changed such that it becomes greater than the current value or the maximum value, then those values will be adjusted. The default value is September 14, 1752.

maximum

The maximum date available in the date edit. If the maximum value is changed such that it becomes smaller than the current value or the minimum value, then those values will be adjusted. The default value is December 31, 7999.

date

The date in the control. This will be clipped to the supplied maximum and minimum values. The default is date.today().

proxy

A reference to the ProxyBoundedDate object.