XmuRemoveCloseDisplayHook(Xmu) X Version 11 (Release 5)
6 January 1993
Name
XmuRemoveCloseDisplayHook - delete callback
Syntax
cc . . . -lXmu
#include <X11/Xmu/CloseHook.h>
Bool XmuRemoveCloseDisplayHook(dpy, handle, func, arg)
Display *dpy;
CloseHook handle;
int (*func)();
caddr_t arg;
Bool XmuLookupCloseDisplayHook(dpy, handle, func, arg)
Display *dpy;
CloseHook handle;
int (*func)();
caddr_t arg;
Arguments
dpy Specifies the connection to the X server.
handle Specifies the callback by id, or NULL.
func Specifies the callback by function.
arg Specifies the function data to match.
Description
The XmuRemoveCloseDisplayHook function deletes a callback that is added
with XmuAddCloseDisplayHook. If handle is not NULL, it specifies the
callback to remove, and the func and arg parameters are ignored. If han-
dle is NULL, the first callback found to match the specified func and arg
will be removed. Returns True if a callback was removed, otherwise it
returns False.
The XmuLookupCloseDisplayHook function determines if a callback is
installed. If handle is not NULL, it specifies the callback to look for,
and the func and arg parameters are ignored. If handle is NULL, the
function looks for any callback for the specified func and arg. Returns
True if a matching callback exists, otherwise it returns False.
See also
XmuAddCloseDisplayHook(Xmu)
Xlib - C Language X Interface