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

systemd.index(7) List all manpages from the systemd project
binfmt.d(5) Configure additional binary formats for executables at boot bootchart.conf(5) Boot performance analysis graphing tool configuration file .....(Man)

sigpending(2) - examine pending signals - Linux manual page
sigpending() returns the set of signals that are pending for delivery to the calling thread (i.e., the signals which have been raised while blocked). The mask o

gnutls_openpgp_crt_get_pk_algorithm(3) - API function.......
gnutls_openpgp_crt_get_pk_algorithm.3 - This function will return the public key algorithm of an OpenPGP certificate. If bits is non null, it should have enough

gnutls_malloc(3) - API function (Library - Linux man page)
This function will allocate s bytes data, and return a pointer to memory. This function is supposed to be used by callbacks. The allocation function used is the

isalnum(3) - character classification routines (Man Page)...
These functions check whether c, which must have the value of an unsigned char or EOF, falls into a certain character class according to the specified locale. T

glEvalCoord1d(3gl) - evaluate enabled one- and two-dimension
glEvalCoord1 evaluates enabled one-dimensional maps at argument u. glEvalCoord2 does the same for two-dimensional maps using two domain values, u and v. To defi

dosbox(1) - an x86/DOS emulator with sound/graphics.........
This manual page briefly documents dosbox, an x86/DOS emulator. The optional file argument should be a DOS executable or a directory. If it is a dos executable

XtCreateApplicationContext(3) - create, destroy, and obtain
The XtCreateApplicationContext function returns an application context, which is an opaque type. Every application must have at least one application context. T

tk_dialog(n) - Create modal dialog and wait for response....
This procedure is part of the Tk script library. It is largely deprecated by the tk_messageBox. Its arguments describe a dialog box: window Name of top-level wi

flash_sp(3ncurses) - curses screen-pointer extension........
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

asn1_create_element(3) - Creates a structure of type SOURCE_
Creates a structure of type source_name . Example using pkix.asn: rc = asn1_create_element(cert_def, PKIX1.Certificate, certptr); RETURNS ASN1_SUCCESS if creati

XcmsRGB(3) - Xcms color structure - Linux manual page.......
The XcmsColor structure contains a union of substructures, each supporting color specification encoding for a particular color space. SEE ALSO XcmsAllocColor(3)

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