traitsui.editors.date_range_editor module

class traitsui.editors.date_range_editor.DateRangeEditor(*args, **traits)[source]

Bases: DateEditor

Editor for a date range. The target value should be a tuple containing two dates (start date, end date)

allow_no_selection = Bool(False)

Whether it is possible to unset the date range. If true, then the date range will be set to (None, None) when all the dates are unselected.

multi_select = Constant(True)

This must be set to true for setting a date range.


alias of DateRangeEditor