XcupGetReservedColormapEntries(3)



XCUP

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SEE ALSO

NAME

XcupGetReservedColormapEntries − list colormap entries reserved by the system

SYNOPSIS

cc [ flag ... ] file ... -lXext [ library ... ]
#include <X11/extensions/Xcup.h>

Status XcupGetReservedColormapEntries(Display *display,

int screen, XColor **colors_out, int *ncolors);

ARGUMENTS

display

Specifies the connection to the X server.

screen

Screen number on the host server.

colors_out

Returns the values reserved by the server.

ncolors

Returns the number of items in colors_out.

DESCRIPTION

The XcupGetReservedColormapEntries function returns a list of colormap entries (pixels) that are reserved by the system. This list will, at a minimum, contain entries for the BlackPixel and WhitePixel of the specified screen. Use XFree to free colors_out.

To minimize colormap flash, an application which installs its own private colormap should query the special colors by calling XCupGetReservedColormapEntries, and can then store those entries (in the proper location) in its private colormap using XCupStoreColors.

SEE ALSO

XcupQueryVersion(3Xext), XcupStoreColors(3Xext), XFree(3X11),
Colormap Utilization Policy and Extension



More Linux Commands

manpages/pkcs7.1ssl.html
pkcs7(1ssl) - PKCS#7 utility (Commands - Linux man page)....
The pkcs7 command processes PKCS#7 files in DER or PEM format. COMMAND OPTIONS -inform DER|PEM This specifies the input format. DER format is DER encoded PKCS#7

manpages/getpwuid_r.3.html
getpwuid_r(3) - get password file entry - Linux manual page
The getpwnam() function returns a pointer to a structure containing the broken-out fields of the record in the password database (e.g., the local password file

manpages/XtCallbackNonexclusive.3.html
XtCallbackNonexclusive(3) - map a pop-up - Linux man page...
The XtPopup function performs the following: * Calls XtCheckSubclass to ensure popup_shell is a subclass of Shell. * Generates an error if the shells popped_up

manpages/gvfs-mime.1.html
gvfs-mime(1) Get or set mime handlers - Linux manual page...
gvfs-mime can query information about applications that are registered to handle a mime-type, or set the default handler for a mime-type. Gvfs obtains this info

manpages/gnutls_x509_crt_set_crl_dist_points.3.html
gnutls_x509_crt_set_crl_dist_points(3) - API function.......
gnutls_x509_crt_set_crl_dist_points.3 - This function will set the CRL distribution points certificate extension. RETURNS On success, GNUTLS_E_SUCCESS (0) is re

manpages/attributes.3menu.html
attributes(3menu) - color and attribute control for menus...
attributes.3menu - The function set_menu_fore sets the foreground attribute of menu. This is the highlight used for selected menu items. menu_fore returns the f

manpages/gnutls_record_send.3.html
gnutls_record_send(3) - API function - Linux manual page....
This function has the similar semantics with send(). The only difference is that it accepts a GnuTLS session, and uses different error codes. Note that if the s

manpages/gnutls_x509_dn_oid_known.3.html
gnutls_x509_dn_oid_known(3) - API function - Linux man page
This function will inform about known DN OIDs. This is useful since functions like gnutls_x509_crt_set_dn_by_oid() use the information on known OIDs to properly

manpages/SDL_FreeWAV.3.html
SDL_FreeWAV(3) - Frees previously opened WAV data (ManPage)
After a WAVE file has been opened with SDL_LoadWAV its data can eventually be freed with SDL_FreeWAV. audio_buf is a pointer to the buffer created by SDL_LoadWA

manpages/setfsent.3.html
setfsent(3) - handle fstab entries - Linux manual page......
setfsent.3 - These functions read from the file /etc/fstab. The struct fstab is defined by: struct fstab { char *fs_spec; /* block device name */ char *fs_file;

manpages/htole64.3.html
htole64(3) - convert values between host and big-/little-end
These functions convert the byte encoding of integer values from the byte order that the current CPU (the host) uses, to and from little-endian and big-endian b

manpages/javaws.1.html
javaws(1) - a Java Web Start client - Linux manual page.....
javaws is an implementation of a JNLP client. It uses a JNLP (Java Network Launch Protocol) file to securely run a remote Java application or a Java applet. Thi





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