XInstallColormap, XUninstallColormap, XListInstalledColormaps - control colormaps
int XInstallColormap(Display *display, Colormap colormap); int XUninstallColormap(Display *display, Colormap colormap); Colormap *XListInstalledColormaps(Display *display, Window w, int *num_return);
colormap Specifies the colormap. display Specifies the connection to the X server. num_return Returns the number of currently installed colormaps. w Specifies the window that determines the screen.
The XInstallColormap function installs the specified colormap for its associated screen. All windows associated with this colormap immediately display with true colors. You associated the windows with this colormap when you created them by calling XCreateWindow, XCreateSimpleWindow, XChangeWindowAttributes, or XSetWindowColormap. If the specified colormap is not already an installed colormap, the X server generates a ColormapNotify event on each window that has that colormap. In addition, for every other colormap that is installed as a result of a call to XInstallColormap, the X server generates a ColormapNotify event on each window that has that colormap. XInstallColormap can generate a BadColor error. The XUninstallColormap function removes the specified colormap from the required list for its screen. As a result, the specified colormap might be uninstalled, and the X server might implicitly install or uninstall additional colormaps. Which colormaps get installed or uninstalled is server dependent except that the required list must remain installed. If the specified colormap becomes uninstalled, the X server generates a ColormapNotify event on each window that has that colormap. In addition, for every other colormap that is installed or uninstalled as a result of a call to XUninstallColormap, the X server generates a ColormapNotify event on each window that has that colormap. XUninstallColormap can generate a BadColor error. The XListInstalledColormaps function returns a list of the currently installed colormaps for the screen of the specified window. The order of the colormaps in the list is not significant and is no explicit indication of the required list. When the allocated list is no longer needed, free it by using XFree. XListInstalledColormaps can generate a BadWindow error.
BadColor A value for a Colormap argument does not name a defined Colormap. BadWindow A value for a Window argument does not name a defined Window.
XChangeWindowAttributes(3), XCreateColormap(3), XCreateWindow(3), XFree(3) Xlib - C Language X Interface
More Linux Commands
polkit(8) - Authorization Framework - Linux manual page.....
polkit provides an authorization API intended to be used by privileged programs (MECHANISMS) offering service to unprivileged programs (SUBJECTS) often through
XtRegisterExtensionSelector(3) - extension event handling...
The XtInsertEventTypeHandler function registers a procedure with the dispatch mechanism that is to be called when an event that matches the specified event_type
gnutls_dh_get_peers_public_bits(3) - API function (ManPage)
Get the Diffie-Hellman public key bit size. Can be used for both anonymous and ephemeral Diffie-Hellman. RETURNS The public key bit size used in the last Diffie
cddb-tool(1) Get CDDB information - Linux manual page.......
cddb-tool is a backend tool for abcde. It is passed information from cd-discid and uses it look up the CD title, artist, and track information on the cddb datab
mkfs.bfs(8) - make an SCO bfs filesystem - Linux man page...
mkfs.bfs creates an SCO bfs filesystem on a block device (usually a disk partition or a file accessed via the loop device). The block-count parameter is the des
XUninstallColormap(3) - control colormaps - Linux man page
The XInstallColormap function installs the specified colormap for its associated screen. All windows associated with this colormap immediately display with true
zshmodules(1) - zsh loadable modules - Linux manual page....
Some optional parts of zsh are in modules, separate from the core of the shell. Each of these modules may be linked in to the shell at build time, or can be dyn
svgtopam(1) convert an SVG (Scalable Vector Graphics) image
This program is part of Netpbm(1) svgtopam reads an SVG (Scalable Vector Graphics) image as input and produces a PAM image as output. svgtopam is so weak that i
SDL_CreateCond(3) - Create a condition variable (Man Page)
Creates a condition variable. EXAMPLES SDL_cond *cond; cond=SDL_CreateCond(); . . /* Do stuff */ . . SDL_DestroyCond(cond); SEE ALSO SDL_DestroyCond, SDL_CondWa
tigetstr(3ncurses) - curses interfaces to terminfo database
These low-level routines must be called by programs that have to deal directly with the terminfo database to handle certain terminal capabilities, such as progr
readprofile(8) read kernel profiling information (Man Page)
readprofile.8 - The readprofile command uses the /proc/profile information to print ascii data on standard output. The output is organized in three columns: the
speaker-test(1) - command-line speaker test tone generator f
speaker-test generates a tone that can be used to test the speakers of a computer. speaker-test by default will test the default device. If you want to test ano