...\" ** (c) Copyright 1993, 1994 Hewlett-Packard Company ...\" ** (c) Copyright 1993, 1994 International Business Machines Corp. ...\" ** (c) Copyright 1993, 1994 Sun Microsystems, Inc. ...\" ** (c) Copyright 1993, 1994 Novell, Inc ...\" ** ...\" ** ...\" ** ...\" ** (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc. ...\" ** All Rights Reserved. ...\" ** ...\" ** (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company ...\" ** ...\" ** (c) Copyright 1987, 1988 by Digital Equipment Corporation, ...\" ** Maynard, MA. All Rights Reserved. ...\" ** ...\" ** .TH XmAddWMProtocols 3X "" "" "" "" .ds )H Hewlett-Packard Company .ds ]W Motif Release 1.2: May 1992 .SH NAME \fIXmAddWMProtocols\fP \- A VendorShell convenience interface that adds the protocols to the protocol manager and allocates the internal tables .SH SYNOPSIS .nf .sS .iS \&#include \&#include .sp \n(PDu void XmAddWMProtocols (\fBshell, protocols, num_protocols\fI) .ta .5i 1.5i .nf Widget \fBshell\fI; Atom \fB* protocols\fI; Cardinal \fBnum_protocols\fI; .wH .fi .iE .sE .SH DESCRIPTION .fi \fIXmAddWMProtocols\fP is a convenience interface. It calls \fIXmAddProtocols\fP with the property value set to the atom returned by interning \fIWM_PROTOCOLS\fP. .nL .ne 30 .IP "\fBshell\fP" Specifies the widget with which the protocol property is associated. .IP "\fBprotocols\fP" Specifies the protocol \fIAtoms\fP (or \fIint\fP types cast to \fIAtom\fP). .IP "\fBnum_protocols\fP" Specifies the number of elements in \fBprotocols\fP. .PP For a complete definition of VendorShell and its associated resources, see \fIVendorShell(3X)\fP. .SH RELATED INFORMATION .na \fIVendorShell(3X)\fP, \fIXmAddProtocols(3X)\fP, and \fIXmInternAtom(3X)\fP. .ad