Class | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## trackbar

The class of the trackbar control. This is a linear gauge displaying a pointer that indicates some value within a specified range, and allowing users to drag the pointer to other values within the range and thereby effect some arbitrary behavior.

An example use of a trackbar would be the volume slider on a stereo.

Tick marks may be displayed at some specified frequency along the trackbar. The trackbar value may also be adjusted using the arrow keys and/or the PAGE UP/PAGE DOWN keys when the trackbar has the keyboard focus, and the amount by which these keys adjust the value can be set. See tick-frequency, tick-position, and tick-side. (If the value of tick-side is :none, no tick marks are displayed.

See About how to get sample code for creating controls in cgide.htm, which explains how to use the IDE to create such code.

A diagram of window and widget classes is shown in Widget and window classes in cgide.htm.

### GTK Note

The native trackbar widget in GTK is much simpler than the one in Windows. Specifically, it does not support the tick-side, tick-position, tick-frequency, select-range, visible-range, and no-pointer properties.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version