WoColorButtonGetValue Function

Gets the currently selected color index from a color button created by WoColorButton.

Usage

color = WoColorButtonGetValue(wid)

Input Parameters

wid — Specifies the widget ID returned by WoColorButton (long).

Returned Value

color — The currently selected color index (integer).

Keywords

None.

Example

See the example given for WoColorButton Function.

See Also

WoColorButton, WoColorButtonSetValue