enaml.widgets.datetime_selector

Classes

DatetimeSelector

A widget to edit a Python datetime.datetime object.

class enaml.widgets.datetime_selector.DatetimeSelector(parent=None, **kwargs)[source]

Bases: enaml.widgets.bounded_datetime.BoundedDatetime

A widget to edit a Python datetime.datetime object.

This is a geometrically smaller control than what is provided by Calendar.

datetime_format

A python date format string to format the datetime. 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 datetime selector expands freely in width by default

proxy

A reference to the ProxyDateSelector object.