XSetWindowColormap man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XSetWindowColormap()					  XSetWindowColormap()

Name
  XSetWindowColormap – set the colormap attribute for a window.

Synopsis
  XSetWindowColormap(display, w, colormap)
	Display *display;
	Window w;
	Colormap colormap;

Arguments
  display  Specifies a connection to an X server; returned from XOpenDis‐
	   play().

  w	   Specifies the ID of the window for which you want to	 set  the
	   colormap.

  colormap
	   Specifies the colormap.

Description
  XSetWindowColormap()	sets the colormap attribute of the specified win‐
  dow.	The colormap need not be installed to be  set  as  an  attribute.
  colormap  will be used to translate pixel values drawn into this window
  when colormap is installed in the hardware, which will be taken care of
  by the window manager.

  In  Release  3,  applications	 must install their own colormaps if they
  cannot use the default colormap.  In Release 4 and later,  they  should
  never do so.

  The colormap must have the same visual as the window.

Errors
  BadColor  Invalid colormap.

  BadMatch

  BadWindow

See Also
  XChangeWindowAttributes(),	XGetGeometry(),	  XGetWindowAttributes(),
  XSetWindowBackground(),  XSetWindowBackgroundPixmap(),   XSetWindowBor‐
  der(), XSetWindowBorderPixmap(), XSetWMColormapWindows().

Xlib - Window Attributes				  XSetWindowColormap()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net