[Contents] [Index] [Next] [Previous]

XmRemoveProtocolCallback


NAME

XmRemoveProtocolCallback - A VendorShell function that removes a callback from the internal list

SYNOPSIS

#include <Xm/Xm.h>
#include <Xm/Protocols.h>
void XmRemoveProtocolCallback (shell, property, protocol, callback, closure)
      Widget          shell;
      Atom            property;
      Atom            protocol;
      XtCallbackProc  callback;
      XtPointer       closure;
void XmRemoveWMProtocolCallback (shell, protocol, callback, closure)
      Widget          shell;
      Atom            protocol;
      XtCallbackProc  callback;
      XtPointer       closure;

DESCRIPTION

XmRemoveProtocolCallback removes a callback from the internal list.

XmRemoveWMProtocolCallback is a convenience interface. It calls XmRemoveProtocolCallback with the property value set to the atom returned by interning WM_PROTOCOLS.

shell
Specifies the widget with which the protocol property is associated
property
Specifies the protocol property
protocol
Specifies the protocol atom (or an int cast to Atom)
callback
Specifies the procedure to call when a protocol message is received
closure
Specifies the client data to be passed to the callback when it is invoked

For a complete definition of VendorShell and its associated resources, see VendorShell(3X).

RELATED INFORMATION

VendorShell(3X), XmInternAtom(3X), and XmRemoveWMProtocolCallback(3X).