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


next up previous contents index
Next: multiscale - Constructor Up: widgets - Module Previous: multiautogui.multiautoguitest - Function


multiscale - Tool



Package display
Module widgets


Postscript file available

Glish/Tk widget to specify multiple values in a single domain

include "multiscale.g"

Constructors
multiscale Construct a multiscale
Functions
disable Disable widget
dismiss Disable and dismiss the multiscale
enable Enable widget
getvalues Retrieve the current scale value/s
setrange Change the lower and upper limits of the scales
setresolution Set the step value for the scales
setvalues Set the scale value/s



Description

Note: the following information describes what the multiscale widget should do. At present, only one scale is supported.

This Glish/Tk widget provides one or more basic Glish/Tk scale widgets having identical value ranges, but different values. Its intelligence lies in its ability to ensure that values remain ordered. That is, it can be used for the selection of minimum and maximum values of data, and ensures that the minimum is always less than or equal to the maximum.

Whenever the user modifies any one of the scales in the multiscale widget, an event "values" is emitted from the multiscale, whose value is a vector of floats being the position of each slider.

If you chooser to show an entry box as well (entry=T) as the slider, then they are connected. The values selected with the slider show in the entry box. When you enter a value in the entry box, after you press carriage return, the slider will update its value.

You can also interactively extend the range of the slider (extend=T and entry=T). In this case, a check box is offered. If checked, then any value you enter in the entry box which is outside of the current slider range, will extend the slider range.




next up previous contents index
Next: multiscale - Constructor Up: widgets - Module Previous: multiautogui.multiautoguitest - 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