XmAddWMProtocols(3X)XmAddWMProtocols(3X)NAME
XmAddWMProtocols - A VendorShell convenience interface that adds the protocols to the protocol manager and allocates the internal tables
SYNOPSIS
#include <Xm/Xm.h> #include <Xm/Protocols.h>
void XmAddWMProtocols (shell, protocols, num_protocols)
Widget shell;
Atom * protocols;
Cardinal num_protocols;
DESCRIPTION
XmAddWMProtocols is a convenience interface. It calls XmAddProtocols with the property value set to the atom returned by interning WM_PRO-
TOCOLS. Specifies the widget with which the protocol property is associated. Specifies the protocol Atoms (or int types cast to Atom).
Specifies the number of elements in protocols.
For a complete definition of VendorShell and its associated resources, see VendorShell(3X).
SEE ALSO VendorShell(3X), XmAddProtocols(3X), XmInternAtom(3X)XmAddWMProtocols(3X)
Check Out this Related Man Page
XmActivateProtocol(3X)XmActivateProtocol(3X)NAME
XmActivateProtocol - A VendorShell function that activates a protocol
SYNOPSIS
#include <Xm/Xm.h> #include <Xm/Protocols.h>
void XmActivateProtocol (shell, property, protocol)
Widget shell;
Atom property;
Atom protocol;
void XmActivateWMProtocol (shell, protocol)
Widget shell;
Atom protocol;
DESCRIPTION
XmActivateProtocol activates a protocol. It updates the handlers and the property if the shell is realized. It is sometimes useful to
allow a protocol's state information (callback lists, and so on) to persist, even though the client may choose to temporarily resign from
the interaction. This is supported by allowing a protocol to be in one of two states: active or inactive. If the protocol is active and
the shell is realized, the property contains the protocol Atom. If the protocol is inactive, the Atom is not present in the property.
XmActivateWMProtocol is a convenience interface. It calls XmActivateProtocol 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 proto-
col Atom (or an int type cast to Atom).
For a complete definition of VendorShell and its associated resources, see VendorShell(3X).
SEE ALSO VendorShell(3X), XmActivateWMProtocol(3X), XmInternAtom(3X)XmActivateProtocol(3X)
Hi Folks,
Today hasn't been the best one of my career in IT.
I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them.
At the... (3 Replies)