Rechercher une page de manuel
XmChangeColor
Langue: en
Version: 183229 (CentOS - 06/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
XmChangeColor --- Recalculates all associated colors of a widgetSYNOPSIS
#include <Xm/Xm.h> void XmChangeColor( Widget widget, Pixel background);
DESCRIPTION
XmChangeColor handles all color modifications for the specified widget when a new background pixel value is specified. This 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
- background
- Specifies the background color pixel value
RELATED
XmGetColorCalculation(3), XmGetColors(3), and XmSetColorCalculation(3).
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre