## 2.4 Initialization

The first order of business of an EZwgl application is to initialize the EZwgl library. This is achieved by calling

`EZ_Initialize(int argc, char **argv, int initGL);`

This function parses the command line arguments, opens the X server connection and initialize the internal data structure for EZwgl.

`void EZ_Initialize(int argc, char **argv, int initGL)`

The only difference between intializing and not initializing the EZ graphics library is on color allocation. The EZ graphics library is greedy on colors, it claims almost all available color cells in the default colormap on pseudoColor/grayscale visuals.

\section*Overriding the Default Attributes

There are a few global attributes for the EZ widget library. They affect the appearance and the behavior of EZ widgets. Some of these attributes can be modified at the initialization time.

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