1XmChangeColor(library call)                        XmChangeColor(library call)
2
3
4

NAME

6       XmChangeColor — Recalculates all associated colors of a widget
7

SYNOPSIS

9       #include <Xm/Xm.h>
10       void XmChangeColor(
11       Widget widget,
12       Pixel background);
13

DESCRIPTION

15       XmChangeColor  handles all color modifications for the specified widget
16       when a new background pixel value is specified.  This function recalcu‐
17       lates  the foreground, select, and shadow colors based on the new back‐
18       ground color and sets the corresponding resources for the widget. If  a
19       color  calculation procedure has been set by a call to XmSetColorCalcu‐
20       lation, XmChangeColor uses that procedure to calculate the new  colors.
21       Otherwise, the routine uses a default procedure.
22
23       widget    Specifies the widget ID whose colors will be updated
24
25       background
26                 Specifies the background color pixel value
27
29       XmGetColorCalculation(3), XmGetColors(3), and XmSetColorCalculation(3).
30
31
32
33                                                   XmChangeColor(library call)
Impressum