1
#------------------------------------------------------------------------------
3
# Copyright (c) 2005, Enthought, Inc.
6
# This software is provided without warranty under the terms of the BSD
7
# license included in enthought/LICENSE.txt and may be redistributed only
8
# under the conditions described in the aforementioned license. The license
9
# is also available online at http://www.enthought.com/licenses/BSD.txt
11
# Thanks for using Enthought open source!
13
# Author: David C. Morrill
16
#------------------------------------------------------------------------------
18
""" Defines the tuple editor for the wxPython user interface toolkit.
21
#-------------------------------------------------------------------------------
23
#-------------------------------------------------------------------------------
26
# FIXME: ToolkitEditorFactory is a proxy class defined here just for backward
27
# compatibility. The class has been moved to the
28
# traitsui.editors.tuple_editor file.
29
from traitsui.editors.tuple_editor \
30
import SimpleEditor as BaseSimpleEditor, ToolkitEditorFactory
35
#-------------------------------------------------------------------------------
36
# 'SimpleEditor' class:
37
#-------------------------------------------------------------------------------
39
class SimpleEditor ( BaseSimpleEditor, Editor ):
40
""" Simple style of editor for tuples.
42
The editor displays an editor for each of the fields in the tuple,
43
based on the type of each field.
47
### EOF #######################################################################