Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtRemoveCaA(3x) — HP-UX ANSI C A.09.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAddCallback(1)

XtAddCallbacks(1)

XtCallCallbacks(1)

XtRemoveAllCallbacks(1)

XtRemoveCallbacks(1)

 

NAME

XtRemoveCallback − remove a callback from a callback list. 

Synopsis

void XtRemoveCallback(object, callback_name, callback, client_data)

    Widget object;
    String callback_name;
    XtCallbackProc callback;
    XtPointer client_data;

Inputs

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

callback_name
Specifies the name of the callback list from which the callback is to be removed.

callbackSpecifies the callback procedure which is to be removed. 

client_data
Specifies the data which was registered with the specified procedure.

Description

XtRemoveCallback() removes the callback/client_data pair from the callback list named by callback_name of the object object.  If there is no entry in the specified callback list that matches both callback and client_data, XtRemoveCallback() returns without generating a warning message. 

Usage

Note that there is no way to remove all calls to a specified procedure from a callback list.  To remove a procedure from a callback list, you must specify the client_data it was registered with.  If you want to remove several procedure/data pairs from a callback list at the same time, use XtRemoveCallbacks(). 

See Also

XtAddCallback(1), XtAddCallbacks(1), XtCallCallbacks(1), XtRemoveAllCallbacks(1), XtRemoveCallbacks(1). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026