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 |
|---|
| xuniquecontext(3x11) - redhat |
| xsavecontext(3) - debian |
| xuniquecontext(3) - debian |
| xdeletecontext(3) - centos |
| xsavecontext(3x11) - osf1 |
| Similar Topics in the Unix Linux Community |
|---|
| PHP Man Pages Now Available (Over 10,000) |
| How to extract every repeated string between two specific string? |
| Seeking Alternative for diff in hp |
| Wrong Array... |
| Tar Command |