ClassPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Unrevised from 8.0 to 8.1.
8.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-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This page was not revised from the 8.0 page.
Created 2009.7.29.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Unrevised from 8.0 to 8.1.
8.0 version