EZwgl (5.2 Getting Info about the X Server)

## 5.2 Getting Info about the X Server

The display, screen, visual, visual depth etc. can be retrieved using the following functions.

    void     EZ_GetDisplayInfo(Display **dpy, int *scrn,
                               Visual **vis, int *depth);

    Colormap EZ_GetColormap();

    void     EZ_GetDisplaySize(int *w, int *h);

    Display *EZ_GetDisplay(); /* return the display */
    Visual  *EZ_GetVisual();  /* return the visual  */
    int      EZ_GetDepth();   /* return the v depth */
    int      EZ_GetScreen();  /* return the scrn #  */

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