|
IDL Interface Guide: Creating Development Environment Macros |
|
You can modify the contents of the Macros menu and macros toolbar, either using the Edit Macros dialog (displayed by selecting Edit... from the Macros menu) or by manually editing the user resource (.idlde) file.
The Edit Macros dialog allows you to add, remove, or modify macros that appear either in the Macros menu or the Macros toolbar.
To add a new macro, do the following:
.xbm or .xpm) file associated with the macro in the Bitmap field. The bitmap will be used on the Macros toolbar (if selected). See Bitmaps for Control Panel Buttons for details.
In addition to IDL-language commands, you can attach IDL Motif Action Routines to a macro. See Action Routines for details.
To Remove an existing macro, select it from the list and click Remove. To rearrange macros in the list, use the up- and down-arrow buttons.
It is recommended that bitmaps for control panel buttons:
| Note The above directories show the default search path for a bitmap file if nothing other than the root file name is specified in the .idlde file. |
Although there is little advantage in doing so, you can also modify the Macros menu or toolbar by manually editing either your own local IDL resource file or the system-wide resource file. For details, see Modifying the Control Panel.
IDL Online Help (March 06, 2007)