## 4.38 Thumb Wheel

A thumb wheel is a slider type widget that is used to edit a floating point value.

### Widget Info

Symbolic widget type | EZ_WIDGET_THUMB_WHEEL
Default class name | "ThumbWheel"
Default instance name | "thumbWheel"

### Widget Interface Routines

`void EZ_SetThumbWheelValue(EZ_Widget *widget, float value);`

set the current thumb wheel value.

`float EZ_GetThumbWheelValue(EZ_Widget *widget);`

retrieve the current thumb wheel value.

`void EZ_SetThumbWheelRange(EZ_Widget *widget, float f, float t);`

set the range of a thum wheel.

### Screenshot

### Resources

Config_Option | ResourceName | DefaultValue
EZ_CLASS | class | `"ThumbWheel"`
EZ_NAME | name | `"thumbWheel"`

EZ_X | x |
EZ_Y | y |
EZ_WIDTH | width |
EZ_HEIGHT | height |

EZ_LOCATION | location |
EZ_SIZE | size |
EZ_GEOMETRY | geometry |

EZ_WIDTH_HINT | widthHint |
EZ_HEIGHT_HINT | heightHint |
EZ_SIZE_HINT | sizeHint |

EZ_BORDER_WIDTH | borderWidth | `0`
EZ_BORDER_TYPE | borderType | `none`
EZ_FOCUS_PAD | focusPad | `2`

EZ_PADX | padx | `8`
EZ_PADY | pady | `6`
EZ_IPADX | iPadx | `0`
EZ_IPADY | iPady | `0`

EZ_EXPAND | expand | `false`
EZ_PROPAGATE | propagate | `true`
EZ_TRANSIENT | transient | `false`

EZ_CURSOR | cursor | `"XC_left_ptr"`
EZ_BUBBLE_STRING | bubbleString | `null`

EZ_CALLBACK | N/A | `null null`
EZ_MOTION_CALLBACK | N/A | `null null`
EZ_DESTROY_CALLBACK | N/A | `null null`
EZ_EVENT_HANDLER | N/A | `null null`

EZ_FOREGROUND | foreground | `"black"`
EZ_BACKGROUND | background | `"gray74`
EZ_BG_IMAGE_FILE | bgImageFile | `null`
EZ_BG_PIXMAP | N/A | `none`
EZ_HIGHLIGHT_FOREGROUND | highlightForeground |
EZ_HIGHLIGHT_BACKGROUND | highlightBackground |

EZ_CLIENT_PTR_DATA | N/A | `null`
EZ_CLIENT_INT_DATA | clientIntData | `0`

EZ_DND_DRAG_CURSOR | dndDragCursor | `none`
EZ_DND_BUBBLE_STRING | dndBubbleString | `null`

EZ_BACKING_STORE | backingStore | `false`

EZ_SLIDER_RANGE | sliderRange | `0.0 1.0`
EZ_SLIDER_INIT_VALUE | sliderInitialValue | `0.0`

HTML Documentation Maintainance:`Arturo Espinosa <arturo@nuclecu.unam.mx>`