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 - Constructor Up: widgets - Module Previous: optionmenu.done - Function


pixelrange - Tool



Package display
Module widgets


Postscript file available

Widget to handle a pixel range specification

include "pixelrange.g"

Constructors
pixelrange Construct a pixelrange widget
Functions
disableallbutton Disable the `all' radio button
disabled Disable or enable the widget
done Destroy ourselves
enableallbutton Enable the `all' radio button
getradiovalue Get the value of the radio buttons
getslidervalues Get the values of the sliders
setradiovalue Set the state of a specific radio button
setrange Set new values for the sliders



Description

This Tk widget creates three radio buttons which the user uses to indicate whether they wish to select pixels via an inclusion range (button `include'), an exclusion range (button `exclude') or select all (button `all') pixels. For the inclusion/exclusion ranges, two sliders with entry boxes to type into are provided for the user to set the range. The sliders are set to minimum and maximum and deactivated if the user selects the `all' radio button.

Currently, this widget is rather specialized. It will probably be made more generic at some point.




next up previous contents index
Next: pixelrange - Constructor Up: widgets - Module Previous: optionmenu.done - 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