enaml.widgets.bounded_datetime

Classes

BoundedDatetime A base class for use with widgets that edit a Python
class enaml.widgets.bounded_datetime.BoundedDatetime(parent=None, **kwargs)[source]

Bases: enaml.widgets.control.Control

A base class for use with widgets that edit a Python datetime.datetime object bounded between minimum and maximum values. This class is not meant to be used directly.

minimum

The minimum datetime available in the datetime edit. If not defined then the default value is midnight September 14, 1752.

maximum

The maximum datetime available in the datetime edit. If not defined then the default value is the second before midnight December 31, 7999.

datetime

The currently selected date. Default is datetime.now(). The value is bounded between minimum and maximum.

proxy

A reference to the ProxyBoundedDatetime object.