API Reference for Enthought Tool Suite 3.2.0
Menu Description Syntax:
submenu_label {help_string}
menuitem_label | accelerator {help_string} [~/-name]: code
A line beginning with a hyphen (-) is interpreted as a menu separator.
help_pat = re.compile('(.*){(.*)}(.*)')
Mapping of key name strings to wxPython key codes
key_map = { Const('F1') : Getattr(Name('wx'), 'WXK_F1'), Const('F2') : Getattr(Name('wx'), 'WXK_F2'), Const('F3') : Getattr(Name('wx'), 'WXK_F3'), Const('F4') : Getattr(Name('wx'), 'WXK_F4'), Const('F5') : Getattr(Name('wx'), 'WXK_F5'), Const('F6') : Getattr(Name('wx'), 'WXK_F6'), Const('F7') : Getattr(Name('wx'), 'WXK_F7'), Const('F8') : Getattr(Name('wx'), 'WXK_F8'), Const('F9') : Getattr(Name('wx'), 'WXK_F9'), Const('F10') : Getattr(Name('wx'), 'WXK_F10'), Const('F11') : Getattr(Name('wx'), 'WXK_F11'), Const('F12') : Getattr(Name('wx'), 'WXK_F12') }
options_pat = re.compile('(.*)\\[(.*)\\](.*)')
Determines whether a string contains any specified option characters, and removes them if it does.
| Local name | Refers to |
|---|---|
| re | re |
| string | string |
| wx | wx |
© Copyright 2002-2009 Enthought, Inc.