API Reference for Enthought Tool Suite 3.2.0
Dynamically construct PyQt Menus or MenuBars from a supplied string description of the menu.
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('(.*){(.*)}(.*)')
options_pat = re.compile('(.*)\\[(.*)\\](.*)')
Determines whether a string contains any specified option characters, and removes them if it does.
| Local name | Refers to |
|---|---|
| QtGui | PyQt4.QtGui |
| re | re |
© Copyright 2002-2009 Enthought, Inc.