Updated: March 31, 2006 for release 0.8.2
The Menu classes are defined in menu.py. Menus for an app are defined in the resource file, but they are optional. The worldclock sample shows an app without a menubar.
There is no support for hierarchical menus, graphics or multiple fonts in a menu. You can enable/disable and check/uncheck menu items. In addition, menu items can have an associated command which can then be bound to any number of other menu items or components. See the textIndexer and addresses samples. The simplest way to understand the use of the menus is to look at all the samples resource files and code. When a menu item is selected it generates a 'select' event.
| General Concepts and Limitations | Components | Dialogs | Events and Handlers | Menus | Resource Files | Runtime Tools
$Revision: 1.4 $ : $Author: alextweedly $ : Last updated $Date: 2006/04/06 11:00:26 $