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

XSetStandardColormap()					XSetStandardColormap()

Name
  XSetStandardColormap – change the standard colormap property.

Synopsis
  void XSetStandardColormap(display, w, cmap_info, property)
	Display *display;
	Window w;
	XStandardColormap *cmap_info;
	Atom property;

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

  w	   Specifies the ID of the window with which this  colormap  will
	   be associated.

  cmap_info
	   Specifies the filled colormap information structure.

  property
	   Specifies  the  standard colormap property to set.  The prede‐
	   fined standard colormaps 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.

Description
  XSetStandardColormap() has been superseded  by  XSetRGBColormap  as  of
  Release 4.

  XSetStandardColormap() defines a standard colormap property.

  See description of standard colormaps in Volume One, Chapter 7, Color.

Errors
  BadAlloc
  BadAtom
  BadDrawable
  BadWindow

Structures
     typedef struct {
	 Colormap colormap;    /* ID of colormap made 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;
	 Visual ID visualid;
	 XID killid;
     } XStandardColormap;    /* new fields in R4 */

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

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