API Reference for Enthought Tool Suite 3.2.0
Defines constants used by the wxPython implementation of the various text editors and text editor factories.
Default dialog title
DefaultTitle = 'Edit properties'
Color for background of fields where objects can be dropped
DropColor = wx.Colour(215, 242, 255)
Color for an editable field
EditableColor = wx.WHITE
Color to highlight input errors
ErrorColor = wx.Colour(255, 192, 192)
Define platform and wx version constants:
is_mac = sys.platform== 'darwin'
is_wx26 = float('.'.join(wx.__version__.split('.')[0:2))< 2.7999999999999998
Color of valid input
OKColor = wx.WHITE
Color for background of read-only fields
ReadonlyColor = wx.Colour(244, 243, 238)
Screen size values:
screen_dx = wx.SystemSettings_GetMetric(wx.SYS_SCREEN_X)
screen_dy = wx.SystemSettings_GetMetric(wx.SYS_SCREEN_Y)
Width of a scrollbar
scrollbar_dx = wx.SystemSettings_GetMetric(wx.SYS_VSCROLL_X)
Standard width of an image bitmap
standard_bitmap_width = 120
| Local name | Refers to |
|---|---|
| sys | sys |
| wx | wx |
© Copyright 2002-2009 Enthought, Inc.