Manual Page Result
0
Command: XmChangeColor | Section: 3 | Source: Digital UNIX | File: XmChangeColor.3X.gz
XmChangeColor(3X) XmChangeColor(3X)
NAME
XmChangeColor - Recalculates all associated colors of a widget
SYNOPSIS
#include <Xm/Xm.h>
void XmChangeColor (widget, background)
Widget widget;
Pixel background;
DESCRIPTION
XmChangeColor handles all color modifications for the specified widget
when a new background pixel value is specified. The function recalcu-
lates the foreground, select, and shadow colors based on the new back-
ground color and sets the corresponding resources for the widget. If a
color calculation procedure has been set by a call to XmSetColorCalcu-
lation, XmChangeColor uses that procedure to calculate the new colors.
Otherwise, the routine uses a default procedure. Specifies the widget
ID whose colors will be updated Specifies the background color pixel
value
SEE ALSO
XmGetColorCalculation(3X), XmGetColors(3X), XmSetColorCalculation(3X)
XmChangeColor(3X)