XmeGetDefaultPixel — Generates colors based on the screen background color
#include <Xm/XmP.h>
void XmeGetDefaultPixel(widget, type, offset, value);XmeGetDefaultPixel generates a color associated with a logical component of a widget. For example, you can use XmeGetDefaultPixel to 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:
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. |
None.