XmuRemoveCloseDisplayHook(X3xmu) X Version 11 (Release 6.1)


XmuRemoveCloseDisplayHook -- delete callback

Synopsis

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 handle 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.

References

XmuAddCloseDisplayHook(X3xmu)
Xlib - C Language X Interface
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.