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

XUninstallColormap()					  XUninstallColormap()

Name
  XUninstallColormap  –	 uninstall  a  colormap;  install  default if not
  already installed.

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

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

  colormap  Specifies the colormap to be uninstalled.

Description
  If  colormap is an installed map for its screen, it is uninstalled.  If
  the screen's default colormap is not installed, it is installed.

  If colormap is an installed map, a ColormapNotify event is generated on
  every	 window	 having	 this colormap as an attribute.	 If a colormap is
  installed as a result of the uninstall, a ColormapNotify event is  gen‐
  erated on every window having that colormap as an attribute.

  At any time, there is a subset of the installed colormaps, viewed as an
  ordered list, called the required list.  The	length	of  the	 required
  list	is  at most the min_maps specified for each screen in the Display
  structure.  When a colormap is installed with XInstallColormap() it  is
  added	 to  the  head	of the required list and the last colormap in the
  list is removed if  necessary	 to  keep  the	length	of  the	 list  at
  min_maps.  When a colormap is uninstalled with XUninstallColormap() and
  it is in the required list, it is removed  from  the	list.	No  other
  actions  by  the  server or the client change the required list.  It is
  important to realize that on	all  but  high-performance  workstations,
  min_maps is likely to be one.

  For more information on installing and uninstalling colormaps, see Vol‐
  ume One, Chapter 7, Color.

Errors
  BadColor  Invalid colormap.

See Also
  XDefaultColormap(), XDisplayCells(),	XCopyColormapAndFree(),	 XCreate‐
  Colormap(),	XFreeColormap(),   XGetStandardColormap(),   XInstallCol‐
  ormap(), XListInstalledColormaps(), XSetStandardColormap(), XSetWindow‐
  Colormap().

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