XFreeColormap 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]

XFreeColormap()						       XFreeColormap()

Name
  XFreeColormap – delete a colormap and install the default colormap.

Synopsis
  XFreeColormap(display, colormap)
	Display *display;
	Colormap colormap;

Arguments
  display   Specifies	a  connection  to  an  X  server;  returned  from
	    XOpenDisplay().

  colormap  Specifies the colormap to delete.

Description
  XFreeColormap() destroys the	specified  colormap,  unless  it  is  the
  default  colormap  for  a screen.  That is, it not only uninstalls col‐
  ormap from the hardware colormap if it is installed, but also frees the
  associated memory including the colormap ID.

  XFreeColormap() performs the following processing:

  ·  If colormap is an installed map for a screen, it uninstalls the col‐
     ormap (see XUninstallColormap()).

  ·  If colormap is defined as the colormap attribute for  a  window  (by
     XCreateWindow()  or  XChangeWindowAttributes()), it changes the col‐
     ormap attribute for the window to the  constant  None,  generates	a
     ColormapNotify  event, and frees the colormap.  The colors displayed
     with a colormap of None are server-dependent, since the default col‐
     ormap is normally used.

  For more information, see Volume One, Chapter 7, Color.

Errors
  BadColor  Invalid colormap.

See Also
  XDefaultColormap(),  XDisplayCells(),	 XCopyColormapAndFree(), XCreate‐
  Colormap(), XGetStandardColormap(), XInstallColormap(), XListInstalled‐
  Colormaps(),	XSetStandardColormap(), XSetWindowColormap(), XUninstall‐
  Colormap().

Xlib - Colormaps					       XFreeColormap()
[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