XUniqueContext() XUniqueContext()
Name
XUniqueContext - create a new context ID (not graphics context).
Synopsis
XContext XUniqueContext()
Returns
The context ID.
Description
The context manager allows association of arbitrary data with a resource ID. This call creates a unique ID that can be used in subsequent
calls to XFindContext(), XDeleteContext(), and XSaveContext().
For more information on the context manager, see Volume One, Chapter 15, Other Programming Techniques.
Structures
typedef int XContext;
See Also
XDeleteContext(), XFindContext(), XSaveContext().
Xlib - Context Manager XUniqueContext()