Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSeStandC(3X) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XSetStandardColormap(3X)  —  X Version 11

NAME

XSetStandardColormap, XGetStandardColormap − set or get standard colormaps

SYNTAX

void XSetStandardColormap(display, w, cmap, property)
      Display ∗display;
      Window w;
      XStandardColormap ∗cmap;
      Atom property;/∗ RGB_BEST_MAP, etc. ∗/

Status XGetStandardColormap(display, w, cmap_return, property)
      Display ∗display;
      Window w;
      XStandardColormap ∗cmap_return;
      Atom property;/∗ RGB_BEST_MAP, etc. ∗/

ARGUMENTS

cmapSpecifies the color map ID. 

cmap_returnReturns the color map associated with the specified atom. 

displaySpecifies the connection to the X server. 

propertySpecifies the property atom. 

wSpecifies the window ID. 

DESCRIPTION

The XSetStandardColormap function creates or changes a standard color map. .PN XSetStandardColormap can generate BadAlloc, BadAtom, and BadWindow errors.

The XGetStandardColormap function gets the XStandardColormap structure associated with one of the described atoms. .PN XGetStandardColormap can generate BadAtom and BadWindow errors.

DIAGNOSTICS

BadAlloc The server failed to allocate the requested resource or server memory. 

BadAtom A value for an Atom argument does not name a defined Atom. 

BadWindow A value for a Window argument does not name a defined Window. 

SEE ALSO

Xlib − C Language X Interface

1 March 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026