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


next up previous contents index
Next: pixelrange.disabled - Function Up: pixelrange - Tool Previous: pixelrange - Tool


pixelrange - Constructor



Package display
Module widgets
Tool pixelrange


Construct a pixelrange widget


Synopsis
pixelrange(parent, min, max, labels, widgetset)


Arguments

parent Parent of the menu
Allowed: Tk frame
Default: F
min The minimum value for the sliders
Allowed: Float
Default: 0
max The maximum value for the sliders
Allowed: Float
Default: 1
labels The slider labels
Allowed: String
Default: "include exclude all"
widgetset The widget server to use
Allowed: widgetserver tool
Default: dws


Returns
Agent



Description

Construct the widget. The resolution of the sliders is 1% of the range.

The argument labels gives the labels for each slider. It may be that the context of your use of this widget requires names different from the default.



Example
- include 'pixelrange.g'   
- include 'widgetserver.g'   
- f := dws.frame();
- r := pixelrange(parent=f, min=-100, max=20, widgetset=dws);





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