Beispiel #1
0
def main(root_dir):
    # Create a tutor and display the tutorial:
    path, name = os.path.splitext(root_dir)
    demo(dir_name=root_dir, title='Traits Demos')
Beispiel #2
0
#-------------------------------------------------------------------------
#
#  Copyright (c) 2005, Enthought, Inc.
#  All rights reserved.
#
#  This software is provided without warranty under the terms of the BSD
#  license included in enthought/LICENSE.txt and may be redistributed only
#  under the conditions described in the aforementioned license.  The license
#  is also available online at http://www.enthought.com/licenses/BSD.txt
#
#  Thanks for using Enthought open source!
#
#  Author: David C. Morrill
#  Date:   09/15/2005
#
#-------------------------------------------------------------------------
""" Run the Traits UI demo.
"""

from __future__ import absolute_import
from traitsui.extras.demo import demo

demo()
#-------------------------------------------------------------------------------
#
#  Copyright (c) 2009-2010, Enthought, Inc.
#  All rights reserved.
#
#  This software is provided without warranty under the terms of the BSD
#  license included in enthought/LICENSE.txt and may be redistributed only
#  under the conditions described in the aforementioned license.  The license
#  is also available online at http://www.enthought.com/licenses/BSD.txt
#
#  Thanks for using Enthought open source!
#
#  Author: Vibha Srinivasan
#  Date: 02/03/2009
#
#-------------------------------------------------------------------------------
""" Run the Chaco demo.
"""

from traitsui.extras.demo import demo

# Uncomment the config_filename portion to see a tree editor based on the
# examples.cfg file.
demo(use_files=True, config_filename='demo.cfg', title='Chaco Demos')
Beispiel #4
0
#-------------------------------------------------------------------------------
#
#  Copyright (c) 2005, Enthought, Inc.
#  All rights reserved.
#
#  This software is provided without warranty under the terms of the BSD
#  license included in enthought/LICENSE.txt and may be redistributed only
#  under the conditions described in the aforementioned license.  The license
#  is also available online at http://www.enthought.com/licenses/BSD.txt
#
#  Thanks for using Enthought open source!
#
#  Author: David C. Morrill
#  Date:   09/15/2005
#
#-------------------------------------------------------------------------------

""" Run the Traits UI demo.
"""

from traitsui.extras.demo import demo

demo()

Beispiel #5
0
#-------------------------------------------------------------------------------
#
#  Copyright (c) 2009-2010, Enthought, Inc.
#  All rights reserved.
#
#  This software is provided without warranty under the terms of the BSD
#  license included in enthought/LICENSE.txt and may be redistributed only
#  under the conditions described in the aforementioned license.  The license
#  is also available online at http://www.enthought.com/licenses/BSD.txt
#
#  Thanks for using Enthought open source!
#
#  Author: Vibha Srinivasan
#  Date: 02/03/2009
#
#-------------------------------------------------------------------------------
""" Run the Chaco demo.
"""

from traitsui.extras.demo import demo

# Uncomment the config_filename portion to see a tree editor based on the
# examples.cfg file.
demo(use_files=True, config_filename='tutorials.cfg', title='Chaco Tutorials')
Beispiel #6
0
#-------------------------------------------------------------------------------
#
#  Copyright (c) 2009-2010, Enthought, Inc.
#  All rights reserved.
#
#  This software is provided without warranty under the terms of the BSD
#  license included in enthought/LICENSE.txt and may be redistributed only
#  under the conditions described in the aforementioned license.  The license
#  is also available online at http://www.enthought.com/licenses/BSD.txt
#
#  Thanks for using Enthought open source!
#
#  Author: Vibha Srinivasan
#  Date: 02/03/2009
#
#-------------------------------------------------------------------------------

""" Run the Chaco demo.
"""

from traitsui.extras.demo import demo

demo(
    title='Chaco Demos'
)

Beispiel #7
0
#-------------------------------------------------------------------------------
#
#  Copyright (c) 2009-2010, Enthought, Inc.
#  All rights reserved.
#
#  This software is provided without warranty under the terms of the BSD
#  license included in enthought/LICENSE.txt and may be redistributed only
#  under the conditions described in the aforementioned license.  The license
#  is also available online at http://www.enthought.com/licenses/BSD.txt
#
#  Thanks for using Enthought open source!
#
#  Author: Vibha Srinivasan
#  Date: 02/03/2009
#
#-------------------------------------------------------------------------------

""" Run the Chaco demo.
"""

from traitsui.extras.demo import demo

# Uncomment the config_filename portion to see a tree editor based on the
# examples.cfg file.
demo(use_files=True,
     config_filename='demo.cfg',
     title = 'Chaco Demos'
    )

Beispiel #8
0
#-------------------------------------------------------------------------------
#
#  Copyright (c) 2009-2010, Enthought, Inc.
#  All rights reserved.
#
#  This software is provided without warranty under the terms of the BSD
#  license included in enthought/LICENSE.txt and may be redistributed only
#  under the conditions described in the aforementioned license.  The license
#  is also available online at http://www.enthought.com/licenses/BSD.txt
#
#  Thanks for using Enthought open source!
#
#  Author: Vibha Srinivasan
#  Date: 02/03/2009
#
#-------------------------------------------------------------------------------
""" Run the Chaco demo.
"""

from traitsui.extras.demo import demo

demo(use_files=True, title='Chaco Demos')
Beispiel #9
0
#-------------------------------------------------------------------------------
#
#  Copyright (c) 2009-2010, Enthought, Inc.
#  All rights reserved.
#
#  This software is provided without warranty under the terms of the BSD
#  license included in enthought/LICENSE.txt and may be redistributed only
#  under the conditions described in the aforementioned license.  The license
#  is also available online at http://www.enthought.com/licenses/BSD.txt
#
#  Thanks for using Enthought open source!
#
#  Author: Vibha Srinivasan
#  Date: 02/03/2009
#
#-------------------------------------------------------------------------------

""" Run the Chaco demo.
"""

from traitsui.extras.demo import demo

# Uncomment the config_filename portion to see a tree editor based on the
# examples.cfg file.
demo(use_files=True,
     config_filename='tutorials.cfg',
     title = 'Chaco Tutorials'
    )