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


next up previous contents index
Next: extendoptionmenu.seteventmask - Function Up: extendoptionmenu - Tool Previous: extendoptionmenu.findlabel - Function


extendoptionmenu.geteventmask - Function



Package display
Module widgets
Tool extendoptionmenu


Get the event mask


Synopsis
geteventmask()


Returns
Vector of Bool



Description

This tool function recovers 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 modify it with the seteventmask tool function. New items added to the menu get a T value for their mask.



Example
- labels := "m mm cm";
- f := frame();
- m := extendoptionmenu(f, labels);
- m.geteventmask();
[T T T T]
- m.seteventmask([T,F,F,T]);
- m.geteventmask();
[T F F T]
Note that an element for the ellipsis is recovered too (element 4).





next up previous contents index
Next: extendoptionmenu.seteventmask - Function Up: extendoptionmenu - Tool Previous: extendoptionmenu.findlabel - 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