Description
This tool function sets the event mask. This mask indicates whether
the select event will be emitted or not when you select a menu
item. By default the mask is all T. You can get the current mask with
the geteventmask tool
function. If the mask is invalid, it returns F.
Example
- labels := "Absolute RelRef RelCen";
- values := [1,2,3];
- f := frame();
- m := optionmenu(f, labels=labels, values=values);
- m.seteventmask([T,F,T]);
- m.geteventmask();
[T F T]
- whenever m->select do {print $value;};
In this example, when you selected the second item, no
event would be emitted.
Next: optionmenu.setlabel - Function
Up: optionmenu - Tool
Previous: optionmenu.geteventmask - 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