EZ
Up Prev Next Contents


2.4.1 Setting the Default Background

The EZ Widget library provides a function to set the default background color for all widgets in an application.

int EZ_SetGlobalBackground(char *colorName)

This function returns 1 upon success and returns 0 otherwise.

This function alters the five color entires allocated for widget background and borders. The RGB intensities for colorName should be in the middle range of the interval [0,255].

This function has no effect if the -bg command line option is properly set. Neither does it have effects on widgets whose background or their ancestors' background are hard coded.


HTML Documentation Maintainance:Arturo Espinosa <arturo@nuclecu.unam.mx>