API Reference for Enthought Tool Suite 3.2.0
This file contains the ui specifications for the chaco.axis.Axis objects.
Much of it is defined in re-usable chunks so that elements of it can be used in UIs of objects that contain an axis.
axis_line_group = Group(Item('axis_line_visible', label = 'Visible'), Group(Item('axis_line_color', label = 'Color', style = 'simple'), Item('axis_line_weight', label = 'Thickness'), enabled_when = 'object.axis_line_visible==True'))
default_view = View(VGroup(Group(title_group, label = 'Title', show_border = True), Group(axis_line_group, label = 'Axis Line', show_border = True), HGroup(Group(tick_lines_group, label = 'Tick Lines', show_border = True), Group(tick_labels_group, label = 'Labels', show_border = True), label = 'Ticks'), layout = 'tabbed'), buttons = [ 'OK', 'Cancel' ])
tick_labels_group = Group(Item('tick_label_color', label = 'Color', style = 'simple'))
tick_lines_group = Group(Item('tick_visible', label = 'Visible'), Group(HGroup(Item('tick_interval_ui', label = 'Interval', enabled_when = 'object.tick_interval_auto_ui == False'), Item('tick_interval_auto_ui', label = 'Auto')), Item('tick_color', label = 'Color', style = 'simple'), Item('tick_weight', label = 'Thickness'), Item('tick_in', label = 'Tick in (pixels)'), Item('tick_out', label = 'Tick out (pixels)'), enabled_when = 'object.tick_visible==True'))
tick_lines_group = Group(Item('tick_visible', label = 'Visible'), Group(Item('tick_color', label = 'Color', style = 'simple'), Item('tick_weight', label = 'Thickness'), Item('tick_in', label = 'Tick in (pixels)'), Item('tick_out', label = 'Tick out (pixels)'), Item(label = 'Note: Tick Interval not currently settable.'), enabled_when = 'object.tick_visible==True'))
title_group = Group(Item('title', label = 'Text', editor = TextEditor()), Item('title_color', label = 'Color', style = 'simple'))
| Local name | Refers to |
|---|---|
| Group | enthought.traits.ui.group.Group |
| HGroup | enthought.traits.ui.group.HGroup |
| Item | enthought.traits.ui.item.Item |
| TextEditor | enthought.traits.ui.editors.text_editor.TextEditor |
| VGroup | enthought.traits.ui.group.VGroup |
| View | enthought.traits.ui.view.View |
© Copyright 2002-2009 Enthought, Inc.