hpux man page for xtremovecab

Query: xtremovecab

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XtRemoveCallbacks()													       XtRemoveCallbacks()

Name
  XtRemoveCallbacks - remove a list of callbacks from a callback list.

Synopsis
  void XtRemoveCallbacks(object, callback_name, callbacks)
	 Widget object;
	 String callback_name;
	 XtCallbackList callbacks;

Inputs
  object    Specifies the object; may be of class Object or any subclass thereof.

  callback_name
	    Specifies the callback list from which the callbacks are to be removed.

  callbacks Specifies a NULL-terminated array of procedure/data pairs to be removed from the callback list.

Description
  XtRemoveCallbacks() removes each of the procedure/data pairs in callbacks from the callback list named by callback_name of object object.

  Each callback is removed only if it exactly matches a procedure/data pair registered on the callback list.  If a procedure/data pair in the
  callbacks array does not match a pair on the callback list, XtRemoveCallbacks() does nothing with that array element and does not  generate
  a warning message.

  Because  there  is not an argument that specifies the number of elements in the callbacks array, the last element of this array should be a
  XtCallbackRec structure with NULL in both fields.

Usage
  Because XtRemoveCallbacks() requires the caller to allocate and initialize an array of procedure/data pairs, it may often be easier to sim-
  ply call XtRemoveCallback() repeatedly.  The exception is when a statically initialized array is used to both add and remove callbacks.

Structures
     typedef struct _XtCallbackRec {
	 XtCallbackProc  callback;
	 XtPointer	closure;
     } XtCallbackRec, *XtCallbackList;

See Also
  XtAddCallback(1), XtAddCallbacks(1), XtCallCallbacks(1), XtRemoveAllCallbacks(1), XtRemoveCallback(1).

Xt - Callbacks														       XtRemoveCallbacks()
Related Man Pages
xtremovecallback(3) - x11r4
xtaddcallback(3) - suse
xtaddcallbacks(3) - suse
xtremoveallcallbacks(3) - hpux
xtremovecab(3) - hpux
Similar Topics in the Unix Linux Community
Remove duplicate in array
[All variants] remove first pair of parentheses