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

XAllocStandardColormap()			      XAllocStandardColormap()

Name
  XAllocStandardColormap – allocate an XStandardColormap structure.

Synopsis
  XStandardColormap *XAllocStandardColormap( )

Returns
  The allocated structure.

Availability
  Release 4 and later.

Description
  XAllocStandardColormap()  allocates  and returns a pointer to an XStan‐
  dardColormap structure for use in calling XGetRGBColormaps() or XSetRG‐
  BColormaps().	  Note that all fields in the XStandardColormap structure
  are initially set to zero.  If insufficient memory is	 available,  XAl‐
  locStandardColormap()	 returns  NULL.	  To free the memory allocated to
  this structure, use XFree().

  The purpose of this function is to avoid compiled-in	structure  sizes,
  so that object files will be binary compatible with later releases that
  may have new members added to structures.

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

Structures
  /* value for killed field */
  #define     ReleaseByFreeingColormap	 ( (XID) 1L)

  typedef struct {
       Colormap colormap;
       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;

See Also
  XGetRGBColormaps(), XSetRGBColormaps().

Xlib - Window Manager Hints			      XAllocStandardColormap()
[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