A gauge is used for displaying a quantity, for example amount of processing done. It must be a child of a panel.
gauge-create
gauge-set-value
gauge-set-bezel-face
gauge-set-shadow-width
long ( gauge-create long panel-id string label
long range optional long x optional long y
optional long width optional long height optional string style optional string name)
Creates a gauge item on the given panel.
range indicates the maximum value of the gauge.
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. |
name gives the gauge a name that can be retrieved with window-get-name.
If no position is given, the panel item is placed after the last item. The value -1 may be passed to denote a default, so that the position may be left unspecified and the size given.
long ( gauge-set-value long gauge-id long value)
Set the value of a gauge item.
long ( gauge-set-bezel-face long gauge-id long width)
Set the bezel parameter of the gauge (takes effect under Windows version only).
long ( gauge-set-shadow-width long gauge-id long width)
Set the shadow width of the gauge (takes effect under Windows version only).