Format of Menu Templates

 

MENU

<menu name>

title

<OPTIONAL menu title>

class

<menu class>

function

<menu function> used with popup menus and is called when the popup menu is unmapped with the item number of the selected pushbutton or toggle button in the popup menu. An item number of '0' means no pushbutton or toggle button in the popup was selected.

persist - (OPTIONAL keywords to indicate that menu should be held in memory)

icons - (OPTIONAL keywords to indicate that menu is all icons)

ITEM

<item class>

icon

<icon name> or . . . label = <text string>

menu

<menu name>, command = <command string>, forms=<GUI form name> hint = <OPTION text hint>

group

<OPTIONAL integer group id (zero if undefined)>

accel

<OPTIONAL accelerator key(s) string> on (OPTIONAL keyword to indicate that item is active)

Return to VX CAD/CAM Index