SgColorChooserGetColor(3X)

SgColorChooserGetColor -- A ColorChooser function that gets the selected color of the ColorChooser

As shipped in IRIX 6.5.5. Unchanged since IRIX 6.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 1.2.

DESCRIPTION
     SgColorChooserGetColor gets the currently selected color of the given  Col-
     orChooser 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 inten-
     sity).  This is the same range used by Iris GL (RGBColor(3G)).

     For a complete definition of ColorChooser widget  and  its  associated  re-
     sources, see SgColorChooser(3X).

RELATED INFORMATION
     SgColorChooser(3X).  SgCreateColorChooser(3X), SgCreateColorChooserDia-
     log(3X), SgColorChooserSetColor(3X), SgColorChooserSetCurrentColor(3X), Sg-
     ColorChooserSetStoredColor(3X), and RGBColor(3G).



                                                      SgColorChooserGetColor(3X)