Windows PowerShell command on Get-command XInstallColormap
MyWebUniversity

Manual Pages for UNIX Operating System command usage for man XInstallColormap

XLIB FUNCTIONS XInstallColormap(3x11)

NAME

XInstallColormap, XUninstallColormap, XListInstalledColor-

maps - control colormaps

SYNTAX

cc [ flag... ] file... -lX11 [ library... ]

int XInstallColormap(Display *display, Colormap colormap);

int XUninstallColormap(Display *display, Colormap colormap); Colormap *XListInstalledColormaps(Display *display, Window

w, int *num_return);

ARGUMENTS colormap Specifies the colormap. display Specifies the connection to the X server.

num_return

Returns the number of currently installed color-

maps. w Specifies the window that determines the screen.

DESCRIPTION

The XInstallColormap function installs the specified color-

map 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 color-

map, 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 XIn-

stallColormap, 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 color-

map 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 X Version 11 Last change: libX11 1.3.5 1

XLIB FUNCTIONS XInstallColormap(3x11)

that colormap. In addition, for every other colormap that

is installed or uninstalled as a result of a call to XUnin-

stallColormap, 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 speci-

fied 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. DIAGNOSTICS 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.

SEE ALSO

XChangeWindowAttributes(3x11), XCreateColormap(3x11), XCreateWindow(3x11), XFree(3x11)

Xlib - C Language X Interface

ATTRIBUTES

See attributes(5) for descriptions of the following attri-

butes:

____________________________________________________________

| ATTRIBUTE TYPE | ATTRIBUTE VALUE |

|_____________________________|_____________________________|

| Availability | x11/library/libx11 |

|_____________________________|_____________________________|

| Interface Stability | Committed |

|_____________________________|_____________________________|

| MT-Level | See XInitThreads(3X11) |

|_____________________________|_____________________________|

X Version 11 Last change: libX11 1.3.5 2




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™