Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSetWMColor(3x) — HP-UX 9.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XSetWMColormapWindows − set a window’s XA_WM_COLORMAP_WINDOWS property. 

Synopsis

Status XSetWMColormapWindows(display, w, colormap_windows, count)

   Display *display;
   Window w;
   Window *colormap_windows;
   int count;

Arguments

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

wSpecifies the window. 

colormap_windows
Specifies the list of windows.

countSpecifies the number of windows in the list. 

Availability

Release 4 and later. 

Description

XSetWMColormapWindows() sets the XA_WM_COLORMAP_WINDOWS property on the specified window to the list of windows specified by the colormap_windows argument.  The property is stored with a type of WINDOW and a format of 32.  If it cannot intern the XA_WM_COLORMAP_WINDOWS atom, XSetWMColormapWindows() returns a zero status.  Otherwise, it returns a non-zero status.  This property tells the window manager that subwindows of this application need to have their own colormaps installed.  For more information, see Volume One, Chapter 10, Interclient Communication. 

Errors

BadAlloc
BadWindow

See Also

XGetWMColormapWindows(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026