SgColorChooserSetColor(3X)
SgColorChooserSetColor - A ColorChooser function that sets the selected color of the ColorChooser
As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.
NAME SgColorChooserSetColor - A ColorChooser function that sets the selected color of the ColorChooser SYNOPSIS #include <Sgm/ColorC.h> void SgColorChooserSetColor (widget, red, green, blue) Widget widget; short red; short green; short blue; VERSION This page documents the version of Sgm that accompanies Motif 1.2. DESCRIPTION SgColorChooserSetColor sets the selected color of the given ColorChooser widget. This means that all the components of the ColorChooser, the color hexagon, color sliders, color swatches, and color value text widgets will all reflect the new color. The given color must be in RGB color space. widget Specifies the ColorChooser widget ID. red Specified the red color component in an RGB color space. green Specified the green color component in an RGB color space. blue Specified the blue color component in an RGB color space. The color components range from 0 (no intensity) to 255 (maximum intensity). This is the same range used by Iris GL (RGBColor(3G)). For a complete definition of ColorChooser widget and its associated resources, see SgColorChooser(3X). RELATED INFORMATION SgColorChooser(3X). SgCreateColorChooser(3X), SgCreateColorChooserDialog(3X), SgColorChooserGetColor(3X), SgColorChooserSetCurrentColor(3X), SgColorChooserSetStoredColor(3X), and RGBColor(3G).