hpux man page for xfindcontext

Query: xfindcontext

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XFindContext()															    XFindContext()

Name
  XFindContext - get data from the context manager (not graphics context).

Synopsis
  int XFindContext(display, rid, context, data_return)
	Display *display;
	XID rid;
	XContext context;
	XPointer *data_return;

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

  rid	    Specifies the resource ID with which the data is associated.

  context   Specifies the context type to which the data corresponds.

  data_return
	    Returns the data.

Returns
  XCNOENT (a non-zero error code) if the context could not be found, or zero on success.

Description
  XFindContext()  gets	data that has been assigned to the specified resource ID.  The context manager is used to associate data with windows
  for use within an application.

  This application should have called XUniqueContext() to get a unique ID, and then XSaveContext() to save the	data  into  the  array.   The
  meaning of the data is indicated by the context ID, but is completely up to the client.

  XFindContext() returns XCNOENT (a non-zero error code) if the context could not be found and zero (0) otherwise.

  For more information on the context manager, see Volume One, Chapter 15, Other Programming Techniques.

Structures
     typedef int XContext;

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

Xlib - Context Manager														    XFindContext()
Related Man Pages
xdeletecontext(3x11) - redhat
xuniquecontext(3x11) - redhat
xfindcontext(3) - debian
xuniquecontext(3) - debian
xsavecontext(3) - centos
Similar Topics in the Unix Linux Community
PHP Man Pages Now Available (Over 10,000)
Hpux 11iV3 administration document
Thank you members and admins
Seeking Alternative for diff in hp
Wrong Array...