Spinner Types (XForms (Forms Library) - Version 1.2 (Rev. 4) A Graphical User Interface Toolkit for X)

Next: Spinner Interaction, Previous: Adding Spinner Objects, Up: Spinner Object [Contents][Index]

#### 17.6.2 Spinner Types

There are two types of spinners, one for input of integer and one for floating point values:

`FL_INT_SPINNER`

  A spinner that allows input of integer values.

`FL_FLOAT_SPINNER`

  A spinner that allows input of floating point values.

The way a spinner looks like depends on its dimensions. If it’s at least as wide as it’s high the two buttons are drawn above each other to the right of the input field (and are marked with and up and down pointing triangle), while when the object is higher than it’s wide they are drawn beside each other and below the input field (and the markers are then left and right pointing arrows).