Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets | |
Tool | checkmenu |
This tool function extends the menu with the supplied items.
Extend the menu with more items
Synopsis
extend(names, values)
Arguments
names
The menu item names
Allowed:
Vector of strings
Default:
Empty menu
values
The menu item values
Allowed:
Vector of anything
Default:
Empty menu
Returns
Bool
Description
Example
- f := frame();
- m := checkmenu(f, 'Models', "gaussian point");
- m.getnames();
gaussian point
- m.extend(names="disk")
- m.getnames();
gaussian point disk
-
Next: checkmenu.replace - Function
Up: checkmenu - Tool
Previous: checkmenu - Constructor
  Contents
  Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc.,
Washington, D.C.
Return to AIPS++ Home Page
2006-10-15