SgColorChooserGetColor(3X)
SgColorChooserGetColor - A ColorChooser function that gets the selected color of the ColorChooser
As shipped in IRIX 6.5.15. Added in IRIX 6.5.5.
NAME SgColorChooserGetColor - A ColorChooser function that gets the selected color of the ColorChooser SYNOPSIS #include <Sgm/ColorC.h> void SgColorChooserGetColor (widget, red, green, blue) Widget widget; short *red; short *green; short *blue; VERSION This page documents the version of Sgm that accompanies Motif 2.1. DESCRIPTION SgColorChooserGetColor gets the currently selected color of the given ColorChooser widget. widget Specifies the ColorChooser widget ID *red Specifies a pointer to hold the returned red color component in RGB color space. *green Specifies a pointer to hold the returned green color component in RGB color space. *blue Specifies a pointer to hold the returned blue color component in 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), SgColorChooserSetColor(3X), SgColorChooserSetCurrentColor(3X), SgColorChooserSetStoredColor(3X), and RGBColor(3G).