BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOfScreen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, MaxCmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen − screen information functions and macros


unsigned long BlackPixelOfScreen(Screen *screen);

unsigned long WhitePixelOfScreen(Screen *screen);

int CellsOfScreen(Screen *screen);

Colormap DefaultColormapOfScreen(Screen *screen);

int DefaultDepthOfScreen(Screen *screen);

GC DefaultGCOfScreen(Screen *screen);

Visual *DefaultVisualOfScreen(Screen *screen);

int DoesBackingStore(Screen *screen);

Bool DoesSaveUnders(Screen *screen);

Display *DisplayOfScreen(Screen *screen);

int XScreenNumberOfScreen(Screen *screen);

long EventMaskOfScreen(Screen *screen);

int HeightOfScreen(Screen *screen);

int HeightMMOfScreen(Screen *screen);

int MaxCmapsOfScreen(Screen *screen);

int MinCmapsOfScreen(Screen *screen);

int PlanesOfScreen(Screen *screen);

Window RootWindowOfScreen(Screen *screen);

int WidthOfScreen(Screen *screen);

int WidthMMOfScreen(Screen *screen);



Specifies the appropriate Screen structure.


The BlackPixelOfScreen macro returns the black pixel value of the specified screen.

The WhitePixelOfScreen macro returns the white pixel value of the specified screen.

The CellsOfScreen macro returns the number of colormap cells in the default colormap of the specified screen.

The DefaultColormapOfScreen macro returns the default colormap of the specified screen.

The DefaultDepthOfScreen macro returns the default depth of the root window of the specified screen.

The DefaultGCOfScreen macro returns the default GC of the specified screen, which has the same depth as the root window of the screen.

The DefaultVisualOfScreen macro returns the default visual of the specified screen.

The DoesBackingStore macro returns WhenMapped, NotUseful, or Always, which indicate whether the screen supports backing stores.

The DoesSaveUnders macro returns a Boolean value indicating whether the screen supports save unders.

The DisplayOfScreen macro returns the display of the specified screen.

The XScreenNumberOfScreen function returns the screen index number of the specified screen.

The EventMaskOfScreen macro returns the root event mask of the root window for the specified screen at connection setup.

The HeightOfScreen macro returns the height of the specified screen.

The HeightMMOfScreen macro returns the height of the specified screen in millimeters.

The MaxCmapsOfScreen macro returns the maximum number of installed colormaps supported by the specified screen.

The MinCmapsOfScreen macro returns the minimum number of installed colormaps supported by the specified screen.

The PlanesOfScreen macro returns the number of planes in the root window of the specified screen.

The RootWindowOfScreen macro returns the root window of the specified screen.

The WidthOfScreen macro returns the width of the specified screen.

The WidthMMOfScreen macro returns the width of the specified screen in millimeters.


AllPlanes(3), ImageByteOrder(3), IsCursorKey(3)
Xlib − C Language X Interface

More Linux Commands

Tcl_MakeFileChannel(3) - buffered I/O facilities using chann
The Tcl channel mechanism provides a device-independent and platform-independent mechanism for performing buffered input and output operations on a variety of f

Cyrus::IMAP(3pm) - Interface to Cyrus imclient library......
The Cyrus::IMAP module provides an interface to the Cyrus imclient library. These are primarily useful for implementing cyradm operations within a Perl script;

XtCallCallbacks(3) - process callbacks - Linux manual page
The XtCallCallbacks function calls each procedure that is registered in the specified widgets callback list. If callbacks is not NULL, XtCallCallbackList calls

sqrt(3) - square root function (Library - Linux man page)...
The sqrt() function returns the nonnegative square root of x. RETURN VALUE On success, these functions return the square root of x. If x is a NaN, a NaN is retu

gluQuadricCallback(3gl) - define a callback for a quadrics o
gluQuadricCallback is used to define a new callback to be used by a quadrics object. If the specified callback is already defined, then it is replaced. If CallB

XkbAllocDeviceInfo(3) - Obtain an XkbDeviceInfoRec structure
XkbAllocDeviceInfo allocates space for an XkbDeviceInfoRec structure and initializes that structures device_spec field with the device ID specified by device_sp

unix_update(8) - Helper binary that updates the password of
unix_update is a helper program for the pam_unix module that updates the password of a given user. It is not intended to be run directly from the command line a

perlsource(1) - A guide to the Perl source tree (Man Page)
This document describes the layout of the Perl source tree. If youre hacking on the Perl core, this will help you find what youre looking for. FINDING YOUR WAY

XFillRectangles(3) - fill rectangles, polygons, or arcs.....
The XFillRectangle and XFillRectangles functions fill the specified rectangle or rectangles as if a four-point FillPolygon protocol request were specified for e

XCheckIfEvent(3) - check the event queue with a predicate pr
The XIfEvent function completes only when the specified predicate procedure returns True for an event, which indicates an event in the queue matches. XIfEvent f

alphasort(3) - scan a directory for matching entries........
alphasort.3 - The scandir() function scans the directory dirp, calling filter() on each directory entry. Entries for which filter() returns nonzero are stored i

podofocolor(1) modify colors in a PDF file. - Linux man page
podofocolor.1 - podofocolor is one of the command line tools from the PoDoFo library that provide several useful operations to work with colors in PDF files. It

We can't live, work or learn in freedom unless the software we use is free.