API Reference for Enthought Tool Suite 3.2.0
Defines helper functions and classes used to define wxPython-based trait editors and trait editor factories.
app_path = None
Standard wx event handlers:
handlers = ((wx.EVT_ERASE_BACKGROUND, '_erase_background'), (wx.EVT_PAINT, '_paint'), (wx.EVT_SIZE, '_size'), (wx.EVT_LEFT_DOWN, '_left_down'), (wx.EVT_LEFT_UP, '_left_up'), (wx.EVT_LEFT_DCLICK, '_left_dclick'), (wx.EVT_MIDDLE_DOWN, '_middle_down'), (wx.EVT_MIDDLE_UP, '_middle_up'), (wx.EVT_MIDDLE_DCLICK, '_middle_dclick'), (wx.EVT_RIGHT_DOWN, '_right_down'), (wx.EVT_RIGHT_UP, '_right_up'), (wx.EVT_RIGHT_DCLICK, '_right_dclick'), (wx.EVT_MOTION, '_motion'), (wx.EVT_ENTER_WINDOW, '_enter'), (wx.EVT_LEAVE_WINDOW, '_leave'), (wx.EVT_MOUSEWHEEL, '_wheel'))
Layout orientation for a control and its associated editor
Orientation = Enum('horizontal', 'vertical')
traits_path = None
Converts an image file name to a cached bitmap.
Returns an appropriate width for a wxChoice widget based upon the list of values it contains:
Disconnects a wx event handle from its associated control.
Disconnects a wx event handle from its associated control.
Recomputes the mappings for a new set of enumeration values.
Initializes a standard set of wx event handlers for a specified control and object using a specified prefix.
Positions a window on the screen with a specified width and height so that the window completely fits on the screen if possible.
Restores the user preference items for a specified UI.
Saves the user preference items for a specified UI.
Returns the top-level window for a specified control.
| Local name | Refers to |
|---|---|
| abspath | os.path.abspath |
| Any | enthought.traits.trait_types.Any |
| BaseTraitHandler | enthought.traits.trait_handlers.BaseTraitHandler |
| Bool | enthought.traits.trait_types.Bool |
| convert_image | enthought.traits.ui.ui_traits.convert_image |
| CTrait | enthought.traits.traits.CTrait |
| dirname | os.path.dirname |
| do_later | enthought.pyface.timer.do_later.do_later |
| Editor | enthought.traits.ui.wx.editor.Editor |
| Enum | enthought.traits.trait_types.Enum |
| Event | enthought.traits.trait_types.Event |
| HasPrivateTraits | enthought.traits.has_traits.HasPrivateTraits |
| Instance | enthought.traits.trait_types.Instance |
| Int | enthought.traits.trait_types.Int |
| join | os.path.join |
| screen_dx | enthought.traits.ui.wx.constants.screen_dx |
| screen_dy | enthought.traits.ui.wx.constants.screen_dy |
| SequenceTypes | enthought.traits.ui.ui_traits.SequenceTypes |
| standard_bitmap_width | enthought.traits.ui.wx.constants.standard_bitmap_width |
| sys | sys |
| TraitError | enthought.traits.trait_errors.TraitError |
| wx | wx |
| wx.lib.scrolledpanel | wx.lib.scrolledpanel |
© Copyright 2002-2009 Enthought, Inc.