XmAddProtocolCallback(3X)XmAddProtocolCallback(3X)NAME
XmAddProtocolCallback - A VendorShell function that adds client callbacks for a protocol
SYNOPSIS
#include <Xm/Xm.h> #include <Xm/Protocols.h>
void XmAddProtocolCallback (shell, property, protocol, callback, closure)
Widget shell;
Atom property;
Atom protocol;
XtCallbackProc callback;
XtPointer closure;
void XmAddWMProtocolCallback (shell, protocol, callback, closure)
Widget shell;
Atom protocol;
XtCallbackProc callback;
XtPointer closure;
DESCRIPTION
XmAddProtocolCallback adds client callbacks for a protocol. It checks if the protocol is registered, and if it is not, calls XmAddProto-
cols. It then adds the callback to the internal list. These callbacks are called when the corresponding client message is received.
XmAddWMProtocolCallback is a convenience interface. It calls XmAddProtocolCallback with the property value set to the atom returned by
interning WM_PROTOCOLS. Specifies the widget with which the protocol property is associated. Specifies the protocol property. Specifies
the protocol Atom (or an int type cast to Atom). Specifies the procedure to call when a protocol message is received. 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).
SEE ALSO VendorShell(3X), XmAddProtocols(3X), XmAddWMProtocolCallback(3X), XmInternAtom(3X)XmAddProtocolCallback(3X)
Check Out this Related Man Page
XmRemoveProtocolCallback(library call) XmRemoveProtocolCallback(library call)
NAME
XmRemoveProtocolCallback -- A VendorShell function that removes a callback from the internal list
SYNOPSIS
#include <Xm/Xm.h>
#include <Xm/Protocols.h>
void XmRemoveProtocolCallback(
Widget shell,
Atom property,
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
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(3).
RELATED VendorShell(3), XmAddProtocolCallback(3), XmInternAtom(3), and XmRemoveWMProtocolCallback(3).
XmRemoveProtocolCallback(library call)
What protocol would be the best to use on a network with nt and unix servers and windows me clients?
Can SMB protocol be used to implement large networks?
What protocol can be used to make remote file systems appear as if they are local?
Quite a few questions I know, any help would be... (1 Reply)
Hi,
I would like to write a function which takes one integer argument and adds 10 to it. But, I'd like to return the result in the data that was passed in. Is this possible?
function1()
{
1=$(($1+10))
}
my_number=1
function "$my_number"
echo $my_number
I'd like the echo... (1 Reply)
Hi everybody!
I was wondering if there was a free secure shell client available online that I can use to get onto my school account.
Thanks in advance!
Joanie (5 Replies)