WoColorButtonSetValue Function

Sets the current color index for a color button created by WoColorButton, and updates the color button’s color pixmap.

Usage

color = WoColorButtonSetValue(wid, color) 

Input Parameters

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

color — Specifies the new color index (integer).

Keywords

None.

Example

See the example given for WoColorButton Function.

See Also

WoColorButton,   WoColorButtonGetValue