Page:Xlib - C Language X Interface.pdf/26

 {| style="background:#F0F0F0;color: #202122;" cellpadding=10px
 * colspan=2 |
 * display || Specifies the connection to the X server.
 * screen_number || Specifies the appropriate screen number on the host server.
 * }
 * screen_number || Specifies the appropriate screen number on the host server.
 * }
 * }

Both return the width of the specified screen in millimeters.

 2.2.3. Screen Information Macros 

The following lists the C language macros, their corresponding function equivalents that are for other language bindings, and what data they both can return. These macros or functions all take a pointer to the appropriate screen structure.

Both return the black pixel value of the specified screen.

Both return the white pixel value of the specified screen.

Both return the number of colormap cells in the default colormap of the specified screen.