Fl_Group | +----Fl_Spinner | +----Fl_Input Fl_Repeat_Button
#include <FL/Fl_Spinner.H>
The Fl_Spinner widget is a combination of the input widget and repeat buttons. The user can either type into the input area or use the buttons to change the value.
Creates a new Fl_Spinner widget using the given position, size, and label string.
Destroys the widget and any value associated with it.
Sets or returns the format string for the value.
Sets or returns the maximum value of the widget.
Sets or returns the minimum value of the widget.
Sets the minimum and maximum values for the widget.
Sets or returns the amount to change the value when the user clicks a button. Before setting step to a non-integer value, the spinner type() should be changed to floating point.
Sets or returns the color of the text in the input field.
Sets or returns the font of the text in the input field.
Sets or returns the size of the text in the input field.
Sets or returns the numeric representation in the input field. Valid values are FL_INT_INPUT and FL_FLOAT_INPUT. The first form also changes the format() template. Please note that type is not a virtual function. Setting a new spinner type via a superclass pointer will not work.
Sets or returns the current value of the widget. Before setting value to a non-integer value, the spinner type() should be changed to floating point.