The
AG_Slider widget provides the following bindings:
float *{value,min,max,inc} | Single precision number
| double *{value,min,max,inc} | Double precision number
| int *{value,min,max,inc} | Natural integer
| Uint *{value,min,max,inc} | Unsigned integer
| [SU]int8 *{value,min,max,inc} | Fixed 8-bit integer
| [SU]int16 *{value,min,max,inc} | Fixed 16-bit integer
| [SU]int32 *{value,min,max,inc} | Fixed 32-bit integer
| [SU]int64 *{value,min,max,inc} | Fixed 64-bit integer
|
The slider is positioned to represent
value inside of the range defined by
min and
max.
The optional
inc binding specifies the increment effected by the buttons, or keyboard.
If not specified, it defaults to 0.1 (for floating-point values),
or 1 (for integer values).
Note that the
min, max and
inc bindings must share the same type as
value. The 64-bit types are only available if
AG_HAVE_64BIT is set.
|