Here are some links to introductory materials for learning Traits and Traits UI.
Note that references in older materials, to "enthought.traits.api" and "enthought.traits.ui.api" should be replaced by "traits.api" and "traitsui.api", respectively.
- For a great introduction including latest updates, see the Enthought blog post by Corran Webster "Traits and TraitsUI: Reactive User Interfaces for Rapid Application Development in Python"
- The official documentation is always worth consulting, early and often: http://docs.enthought.com/traits/index.html and http://docs.enthought.com/traitsui/index.html
- Video: "Introduction to Traits" by Corran Webster (2010)
- http://pyvideo.org/video/235/pycon-2010--introduction-to-traits (description page)
- http://blip.tv/pycon-us-videos-2009-2010-2011/introduction-to-traits-3652288 (link to video)
- http://pyvideo.org/pycon-us-2010/pycon-2010--introduction-to-traits.html
- SciPy lecture on building interactive dialogs with Traits: http://scipy-lectures.github.io/advanced/traits/index.html
- (Intermediate level:) "Writing a graphical application for scientific programming using TraitsUI" by Gael Varoquaux.
- The previous example is wx-based. To embed a matplotlib plot in TraitsUI running on Qt, see Pierre Haessig's traitsui_mpl_qt.py module.
- See the many examples in the Examples/traitsui-4.2.0 (etc) subdirectory of your Canopy User Python directory. A few of these examples have not been updated to current traitsui, but most of them will provide good models for you code.
- User Kevin McClaning's blog includes some nice examples: http://www.mcclaning.com/kevin/index.php/python
For Chaco (high-performance desktop 2D graphics library, which uses traits):
- https://archive.org/details/TuesdayTutorial-Room101-Part5
- https://archive.org/details/TuesdayTutorial-Room101-Part6
- https://archive.org/details/TuesdayTutorial-Room101-Part7
For community support (including Enthought developers) of Traits, Traitsui, Chaco, and other Enthought open-source tools, please use this group: https://groups.google.com/forum/#!forum/ets-users
Comments