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

XSaveContext()							XSaveContext()

Name
  XSaveContext	–  save	 a  data value corresponding to a resource ID and
  context type (not graphics context).

Synopsis
  int XSaveContext(display, rid, context, data)
	Display *display;
	XID rid;
	XContext context;
	caddr_t data;

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

  rid	    Specifies the ID of the resource with which the data is asso‐
	    ciated.

  context   Specifies the context type to which the data corresponds.

  data	    Specifies the data to be associated	 with  the  resource  and
	    context.

Returns
  XCNOMEM  (a  non-zero	 error code) if an error has occurred or zero (0)
  otherwise.

Description
  XSaveContext() saves data to the context manager database, according to
  the specified resource and context ID.  The context manager is used for
  associating data with windows within an application.	The  client  must
  have	called XUniqueContext() to get the context ID before calling this
  function.  The meaning of the data is indicated by the context ID,  but
  is completely up to the client.

  If  an entry with the specified resource and context ID already exists,
  XSaveContext() writes over it with the specified data.

  The XSaveContext() function returns XCNOMEM (a non-zero error code)  if
  an  error  has  occurred and zero (0) otherwise.  For more information,
  see the description of the context manager in Volume One,  Chapter  15,
  Other Programming Techniques.

Structures
     typedef int XContext;

See Also
  XDeleteContext(), XFindContext(), XUniqueContext().

Xlib - Context Manager						XSaveContext()
[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