|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
XSaveContext(3X11) XLIB FUNCTIONS XSaveContext(3X11)
NAME
XSaveContext, XFindContext, XDeleteContext, XUniqueContext - associa-
tive look-up routines
SYNTAX
int XSaveContext(Display *display, XID rid, XContext context, XPointer
data);
int XFindContext(Display *display, XID rid, XContext context, XPointer
*data_return);
int XDeleteContext(Display *display, XID rid, XContext context);
XContext XUniqueContext(void);
ARGUMENTS
context Specifies the context type to which the data belongs.
data Specifies the data to be associated with the window and type.
data_return
Returns the data.
display Specifies the connection to the X server.
rid Specifies the resource ID with which the data is associated.
DESCRIPTION
If an entry with the specified resource ID and type already exists,
XSaveContext overrides it with the specified context. The XSaveContext
function returns a nonzero error code if an error has occurred and zero
otherwise. Possible errors are XCNOMEM (out of memory).
Because it is a return value, the data is a pointer. The XFindContext
function returns a nonzero error code if an error has occurred and zero
otherwise. Possible errors are XCNOENT (context-not-found).
The XDeleteContext function deletes the entry for the given resource ID
and type from the data structure. This function returns the same error
codes that XFindContext returns if called with the same arguments.
XDeleteContext does not free the data whose address was saved.
The XUniqueContext function creates a unique context type that may be
used in subsequent calls to XSaveContext.
SEE ALSO
Xlib - C Language X Interface
X Version 11 libX11 1.0.3 XSaveContext(3X11)
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Sat Sep 8 16:37:38 GMT 2007
|
Your favourite pages:
No pages logged yet. Trying to save cookie... Top 10 most popular pages:
svn man page (6162 hits) (FreeBSD 6.2)
sqlite3 man page (5598 hits) (openSUSE 10.2)
adv_cap_autoneg man page (5045 hits) (Solaris 10 11_06)
CPAN man page (4791 hits) (Suse Linux 10.1)
ssh man page (4439 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (3525 hits) (Solaris 10 11_06)
signal man page (3395 hits) (Suse Linux 10.1)
netcat man page (3375 hits) (Suse Linux 10.1)
pprosetup man page (2886 hits) (Solaris 10 11_06)
startproc man page (2738 hits) (Suse Linux 10.1)
|