Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmeGetDefaultPixel(3X) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmeGetDefaultPixel(3X)    UNIX System V    XmeGetDefaultPixel(3X)



     NAME
          XmeGetDefaultPixel - Generates colors based on the screen
          background color

     SYNOPSIS
          #include <Xm/XmP.h>
          void XmeGetDefaultPixel(
          Widget widget,
          int type,
          int offset,
          XrmValue *value);

     VERSION
          This page documents Motif 2.1.

     DESCRIPTION
          XmeGetDefaultPixel generates a color associated with a
          logical component of a widget. For example, you can use
          XmeGetDefaultPixelto find the foreground color of widget.

          XmeGetDefaultPixel uses the screen's background color to
          calculate the foreground, top shadow, bottom shadow, or
          select color.

          widget    Specifies the widget.

          type      Specifies the component of widget for which you
                    are requesting information. Specify one of the
                    following values:

                    XmBACKGROUND
                              Specifies a request for the default
                              background color of the screen.

                    XmFOREGOUND
                              Specifies a request for the generated
                              foreground color.

                    XmTOPSHADOW
                              Specifies a request for the generated
                              top shadow color.  The top shadow is the
                              portion of the shadow that is generally
                              above and to the left of the widget.

                    XmBOTTOMSHADOW
                              Specifies a request for the generated
                              bottom shadow color.  The bottom shadow
                              is the portion of the shadow that is
                              generally below and to the right of the
                              widget.

                    XmSELECT  Specifies a request for the generated



     Page 1                                          (printed 1/22/99)





     XmeGetDefaultPixel(3X)    UNIX System V    XmeGetDefaultPixel(3X)



                              select color.

                    If you do not specify one of the preceding values,
                    XmeGetDefaultPixel returns a warning message.

          offset    Specifies the byte offset of this field from the
                    beginning of the widget class. (XmeGetDefaultPixel
                    currently ignores this field; this field is
                    provided solely for compatibility with the
                    Intrinsics.)

          value     Returns the requested color.

     RELATED
          None.








































     Page 2                                          (printed 1/22/99)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026