Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmChangeColor(3X) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmChangeColor(3X)         UNIX System V         XmChangeColor(3X)



     NAME
          XmChangeColor - Recalculates all associated colors of a
          widget

     SYNOPSIS
          #include <Xm/Xm.h>

          void XmChangeColor (widget, background)
               Widget    widget;
               Pixel     background;


     VERSION
          This page documents version 1.2 of the Motif library.

     DESCRIPTION
          XmChangeColor handles all color modifications for the
          specified widget when a new background pixel value is
          specified.  The function recalculates the foreground,
          select, and shadow colors based on the new background color
          and sets the corresponding resources for the widget.  If a
          color calculation procedure has been set by a call to
          XmSetColorCalculation, XmChangeColor uses that procedure to
          calculate the new colors.  Otherwise, the routine uses a
          default procedure.


          widget Specifies the widget ID whose colors will be updated

          pixel  Specifies the background color pixel value


     RELATED INFORMATION
          XmGetColorCalculation(3X), XmGetColors(3X), and
          XmSetColorCalculation(3X).




















     Page 1                                          (printed 4/30/98)



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