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

XMakeAssoc()							  XMakeAssoc()

Name
  XMakeAssoc – create an entry in an association table.

Synopsis
  XMakeAssoc(display, table, x_id, data)
	Display *display;
	XAssocTable *table;
	XID x_id;
	char * data;

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

  table	   Specifies the association table in which an	entry  is  to  be
	   made.

  x_id	   Specifies the X resource ID.

  data	   Specifies the data to be associated with the X resource ID.

Description
  XMakeAssoc() inserts data into an XAssocTable keyed on an XID.  Associ‐
  ation tables allow you to easily associate data with resource ID's  for
  later retrieval.  Association tables are local, accessible only by this
  client.

  This function is provided for compatibility with X Version 10.  To  use
  it  you  must	 include  the  file <X11/X10.h> and link with the library
  -loldX.

  Data is inserted into the table only once.  Redundant inserts are mean‐
  ingless and cause no problems.  The queue in each association bucket is
  sorted from the lowest to highest XID.

  For more information, see Volume One, Appendix B, X10 Compatibility.

Structure
  typedef struct {
     XAssoc *buckets;	/* pointer to first bucket in bucket array */
     int size;	 /* table size (number of buckets) */
  } XAssocTable;

  typedef struct _XAssoc {
     struct _XAssoc *next;   /* next object in this bucket */
     struct _XAssoc *prev;   /* previous object in this bucket */
     Display *display;	 /* display which owns the ID */
     XID x_id;	 /* X Window System ID */
     char *data;   /* pointer to untyped memory */
  } XAssoc;

See Also
  XCreateAssocTable(), XDeleteAssoc(),	XDestroyAssocTable(),  XLookUpAs‐
  soc().

Xlib - Association Tables					  XMakeAssoc()
[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