API Reference for Enthought Tool Suite 2.7.1
Defines an editor used to debug UI related problems.
Mapping from wxPython sizer flags to corresponding names
all_flags = [ (wx.EXPAND, 'EXPAND'), (wx.ALL, 'ALL'), (wx.TOP, 'TOP'), (wx.BOTTOM, 'BOTTOM'), (wx.LEFT, 'LEFT'), (wx.RIGHT, 'RIGHT'), (wx.FIXED_MINSIZE, 'FIXED_MINSIZE'), (wx.ALIGN_CENTER, 'ALIGN_CENTER'), (wx.ALIGN_RIGHT, 'ALIGN_RIGHT'), (wx.ALIGN_BOTTOM, 'ALIGN_BOTTOM'), (wx.ALIGN_CENTER_VERTICAL, 'ALIGN_CENTER_VERTICAL'), (wx.ALIGN_CENTER_HORIZONTAL, 'ALIGN_CENTER_HORIZONTAL') ]
Table editor to use for displaying Sizer item information
sizer_item_table_editor = TableEditor(columns = [ ObjectColumn(name = 'kind', editable = False), ObjectColumn(name = 'calc_min', editable = False), ObjectColumn(name = 'proportion', editable = False), ObjectColumn(name = 'border', editable = False), ObjectColumn(name = 'flags', editable = False) ], editable = False, configurable = False, sortable = False)
wxPython editor factory for UI debugging.
ToolkitEditorFactory = BasicEditorFactory(klass = UIDebugEditor)
ui_debugger = UIDebugger()
Window browser tree editor
window_tree_editor = TreeEditor(nodes = [ ObjectTreeNode(node_for = [ WXWindow ], children = 'children', label = 'name') ])
| Local name | Refers to |
|---|---|
| Any | enthought.traits.traits.Any |
| BasicEditorFactory | enthought.traits.ui.wx.basic_editor_factory.BasicEditorFactory |
| Code | enthought.traits.traits.Code |
| do_later | enthought.pyface.timer.do_later.do_later |
| Editor | enthought.traits.ui.wx.editor.Editor |
| HasPrivateTraits | enthought.traits.has_traits.HasPrivateTraits |
| Instance | enthought.traits.traits.Instance |
| Int | enthought.traits.traits.Int |
| List | enthought.traits.traits.List |
| NoButtons | enthought.traits.ui.menu.NoButtons |
| ObjectColumn | enthought.traits.ui.table_column.ObjectColumn |
| Property | enthought.traits.traits.Property |
| Str | enthought.traits.traits.Str |
| wx | wx |
Copyright © 2002-2008 Enthought, Inc.