Manual Page Result
0
Command: DXmColorMixSetNewColor | Section: 3 | Source: Digital UNIX | File: DXmColorMixSetNewColor.3X.gz
DXmColorMixSetNewColor(3X) DXmColorMixSetNewColor(3X)
NAME
DXmColorMixSetNewColor - Sets the new color red, green, and blue values
in the color mixing widget.
SYNOPSIS
void DXmColorMixSetNewColor(cmw, red, green, blue)
DXmColorMixWidget cmw;
unsigned short red;
unsigned short green;
unsigned short blue;
PARAMETERS
The identifier (widget ID) of the color mixing widget. The new color
red value. The value is expressed as an X color value (0 to 65535).
The new color green value. The value is expressed as an X color value
(0 to 65535). The new color blue value. The value is expressed as an X
color value (0 to 65535).
A complete list of all the X color values available to you is located
on your system. To find it, type the following command:
%find / -name '*rgb*' -print
DESCRIPTION
The DXmColorMixSetNewColor routine allows the application or a user-
supplied color mixer subwidget to pass the current color value to the
color mixing widget. Note that your application will perform this op-
eration faster if you call this routine instead of the Intrinsic rou-
tine XtSetValues.
RELATED INFORMATION
DXmColorMixGetNewColor(3X), DXmCreateColorMix(3X), DXmCreateColorMixDi-
alog(3X) delim off
DXmColorMixSetNewColor(3X)