API Reference for Enthought Tool Suite 3.2.0

Show multiple months with MultiCalendarCtrl. Allow multi-select.

Trait Listeners

The wx editor directly modifies the value trait of the Editor, which is the named trait of the corresponding Item in your View. Therefore you can listen for changes to the user's selection by directly listening to the item changed event.

TODO

Some more listeners need to be hooked up. For example, in single-select mode, changing the value does not cause the calendar to update. Also, the selection-add and remove is noisy, triggering an event for each addition rather than waiting until everything has been added and removed.

Sample

Example usage:

class DateListPicker(HasTraits):
    calendar = List
    traits_view = View(Item('calendar', editor=DateEditor(),
                            style='custom', show_label=False))

Inherits from

Attributes

Inherited from base classes

Traits

Inherited from base classes

Method summary

Inherited from base classes

Methods

© Copyright 2002-2009 Enthought, Inc.