Century Embedded Technologies Nano-X SDK and Developer's Guide | ||
---|---|---|
Prev | Chapter 9. Common Widgets and Attributes | Next |
Unlike text widgets, valuators keep track of numbers instead of strings. FLTK provides the following valuators:
Fl_Counter - A widget with arrow buttons that shows the current value
Fl_Dial - A round knob
Fl_Roller - An SGI-like dolly widget
Fl_Scrollbar - A standard scrollbar widget
Fl_Slider - A scrollbar with a knob
Fl_Value_Slider - A slider that shows the current value
The value() method gets and sets the current value of the widget. The minimum() and maximum() methods set the range of values that are reported by the widget.