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

XFindContext()							XFindContext()

Name
  XFindContext	–  get	data  from the context manager (not graphics con‐
  text).

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 win‐
  dows 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 mean‐
  ing 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()
[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