Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets | |
Tool | optionmenu |
This tool function sets the label of the optionmenu. This label
can be anything, it does not have to be in the optionmenu list
of labels.
Although the label of the menu is now ``fish'',
the labels of the items in the menu are unchanged.
Set the label of the optionmenu
Synopsis
setlabel(label)
Arguments
label
The label
Allowed:
String
Returns
Bool
Description
Example
- labels :=
- values := [1,2,3];
- f := frame();
- m := optionmenu(f, labels=labels, values=values);
- m.setlabel('fish');
- m.getlabel()
fish
- m.getlabels()
Absolute RelRef RelCen
Next: optionmenu.setforeground - Function
Up: optionmenu - Tool
Previous: optionmenu.seteventmask - 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