Table of Contents
The GMinMax widget is useful for asking users for a minimum and maximum integer range. The widget has error checking to ensure that the maximum value is always greater than the minimum value. You may also attach IntegerRTV variables to both the minimum and maximum value fields to provide instant update of your local data when the user updates this widget.
The following example creates a window that will have two IntegerRTV objects associated with it. When the window is closed, the contents of the IntegerRTV objects will be printed out.
The above script will create a window that will appear as follows,
Example of the GMinMax widget.
Widget used to collect minimum-maximum data via spinners.