Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: optionmenu.getvalue - Function Up: optionmenu - Tool Previous: optionmenu.getname - Function


optionmenu.getnames - Function



Package display
Module widgets
Tool optionmenu


Gets all of the names associated with the menu


Synopsis
getnames()


Returns
Vector of String



Description

This tool function recovers the names associated with each item in the menu. If the menu is empty, it returns an empty array.



Example
- labels := "Absolute RelRef RelCen";
- names := ['Absolute', 'Relative to ref. pix', 'Relative to center'];
- f := frame(); 
- m := optionmenu(f, labels=labels, names=names);
- m.selectindex(2);
- m.getnames();
Absolute Relative to ref. pix Relative to center'





next up previous contents index
Next: optionmenu.getvalue - Function Up: optionmenu - Tool Previous: optionmenu.getname - Function   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