Contents Up Previous Next

wxGauge is-a wxItem

A gauge is used for displaying a quantity, for example amount of processing done. It must be a child of a wxPanel or wxDialogBox.

wxGauge value
wxGauge range
wxGauge create
wxGauge set-bezel-face
wxGauge set-shadow-width


wxGauge value

long value

The current value of the gauge. The default is 1.


wxGauge range

long range

The range of the gauge. The default is 100.


wxGauge create

void ( create)

Creates a gauge item on the given panel. The following slots may be initialized.

style is a bit list of the following:

wxGA_HORIZONTAL The item will be created as a horizontal gauge.
wxGA_VERTICAL The item will be created as a vertical gauge.
wxGA_PROGRESSBAR Under Windows 95, the item will be created as a horizontal progress bar.


wxGauge set-bezel-face

bool ( set-bezel-face long width)

Set the bezel parameter of the gauge (takes effect under Windows version only).


wxGauge set-shadow-width

bool ( set-shadow-width long width)

Set the shadow width of the gauge (takes effect under Windows version only).