XcmsCCCOfColormap, XcmsSetCCCOfColormap − query and modify CCC of a colormap


XcmsCCC XcmsCCCOfColormap(Display *display, Colormap colormap);

XcmsCCC XcmsSetCCCOfColormap(Display *display, Colormap colormap, XcmsCCC ccc);



Specifies the connection to the X server.


Specifies the CCC.


Specifies the colormap.


The XcmsCCCOfColormap function returns the CCC associated with the specified colormap. Once obtained, the CCC attributes can be queried or modified. Unless the CCC associated with the specified colormap is changed with XcmsSetCCCOfColormap, this CCC is used when the specified colormap is used as an argument to color functions.

The XcmsSetCCCOfColormap function changes the CCC associated with the specified colormap. It returns the CCC previously associated with the colormap. If they are not used again in the application, CCCs should be freed by calling XcmsFreeCCC. Several colormaps may share the same CCC without restriction; this includes the CCCs generated by Xlib with each colormap. Xlib, however, creates a new CCC with each new colormap.


DisplayOfCCC(3), XcmsConvertColors(3), XcmsCreateCCC(3), XcmsDefaultCCC(3), XcmsSetWhitePoint(3)
Xlib − C Language X Interface

More Linux Commands

gnutls_srp_set_prime_bits(3) - API function - Linux man page
This function sets the minimum accepted number of bits, for use in an SRP key exchange. If zero, the default 2048 bits will be used. In the client side it sets

Tcl_ListObjAppendElement(3) - manipulate Tcl objects as list
Tcl list objects have an internal representation that supports the efficient indexing and appending. The procedures described in this man page are used to creat

linsert(n) - Insert elements into a list - Linux man page...
This command produces a new list from list by inserting all of the element arguments just before the indexth element of list. Each element argument will become

osage(1) - filter for drawing clustered graphs (Man Page)...
osage draws clustered graphs. As input, it takes any graph in the dot format. It draws the graph recursively. At each level, there will be a collection of nodes

gnutls_pubkey_import_x509(3) - API function - Linux man page
This function will import the given public key to the abstract gnutls_pubkey_t structure. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a nega

svc_freeargs(3) - library routines for remote procedure call
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s

SDL_CreateCursor(3) - Creates a new mouse cursor (Man Page)
Create a cursor using the specified data and mask (in MSB format). The cursor width must be a multiple of 8 bits. The cursor is created in black and white accor

Tcl_RecordAndEvalObj(3) - save command on history list befor
Tcl_RecordAndEvalObj is invoked to record a command as an event on the history list and then execute it using Tcl_EvalObjEx (or Tcl_GlobalEvalObj if the TCL_EVA

gnutls_openpgp_crt_verify_self(3) - API function (Man Page)
Verifies the self signature in the key. The key verification output will be put in verify and will be one or more of the gnutls_certificate_status_t enumerated

XAllocIconSize(3) - allocate icon size structure and set or
The XAllocIconSize function allocates and returns a pointer to a XIconSize structure. Note that all fields in the XIconSize structure are initially set to zero.

auparse_destroy(3) - release instance of parser (Man Page)
auparse_destroy frees all data structures and closes file descriptors. RETURN VALUE None. SEE ALSO auparse_init(3), auparse_reset(3). AUTHOR Steve Grubb auparse

SQL::Statement::Util(3pm) - (unknown subject) (Man Page)....
This package contains three utility classes to handle deliverable columns. INHERITANCE SQL::Statement::Util::Column ISA SQL::Statement::Util SQL::Statement::Uti

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