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

XGetStandardColormap()					XGetStandardColormap()

Name
  XGetStandardColormap – get the standard colormap property.

Synopsis
  Status XGetStandardColormap(display, w, cmap_info_return, property)
	Display *display;
	Window w;
	XStandardColormap *colormap_return;
	Atom property;

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

  w	    Specifies the ID of the window on which the property is  set.
	    This is normally the root window.

  colormap_return
	    Returns the filled colormap information structure.

  property  Specifies  the  atom indicating the type of standard colormap
	    desired.  The  predefined	standard   colormap   atoms   are
	    XA_RGB_BEST_MAP,	   XA_RGB_RED_MAP,	XA_RGB_GREEN_MAP,
	    XA_RGB_BLUE_MAP, XA_RGB_DEFAULT_MAP, and XA_RGB_GRAY_MAP.

Returns
  Zero on failure, non-zero on success.

Description
  XGetStandardColormap() is superseded by XGetRGBColormaps()  in  Release
  4.   XGetStandardColormap()  gets  a	property  on the root window that
  describes a standard colormap.  XGetStandardColormap() returns zero  if
  it fails, or non-zero if it succeeds.

  See  Volume  One, Chapter 7, Color, for a complete description of stan‐
  dard colormaps.

Structures
     typedef struct {
	 Colormap colormap;   /* ID of colormap created by XCreateColormap */
	 unsigned long red_max;
	 unsigned long red_mult;
	 unsigned long green_max;
	 unsigned long green_mult;
	 unsigned long blue_max;
	 unsigned long blue_mult;
	 unsigned long base_pixel;
	 VisualID visualid;
	 XID killid;
     } XStandardColormap;

Errors
  BadAtom
  BadWindow

See Also
  XDefaultColormap(), XDisplayCells(),	XCopyColormapAndFree(),	 XCreate‐
  Colormap(),	XFreeColormap(),  XInstallColormap(),  XListInstalledCol‐
  ormaps(), XSetStandardColormap(), XSetWindowColormap(),  XUninstallCol‐
  ormap().

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