Blob Blame History Raw
'\" t
...\" AddWMPrB.sgm /main/9 1996/09/25 10:14:47 cdedoc $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmAddWMProtocols" "library call"
.SH "NAME"
\fBXmAddWMProtocols\fP \(em A VendorShell convenience interface that adds the protocols to the protocol manager and allocates the internal tables
.iX "XmAddWMProtocol\\%s"
.iX "VendorShell functions" "XmAddWMProtocol\\%s"
.iX "protocols"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Protocols\&.h>
\fBvoid \fBXmAddWMProtocols\fP\fR(
\fBWidget \fBshell\fR\fR,
\fBAtom *\fBprotocols\fR\fR,
\fBCardinal \fBnum_protocols\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmAddWMProtocols\fP is a convenience interface\&.
It calls \fBXmAddProtocols\fP
with the property value set to the atom returned by
interning \fBWM_PROTOCOLS\fP\&.
.IP "\fIshell\fP" 10
Specifies the widget with which the protocol property is associated
.IP "\fIprotocols\fP" 10
Specifies the protocol \fBAtoms\fP
.IP "\fInum_protocols\fP" 10
Specifies the number of elements in \fIprotocols\fP
.PP
For a complete definition of VendorShell and its associated resources, see
\fBVendorShell\fP(3)\&.
.SH "RELATED"
.PP
\fBVendorShell\fP(3),
\fBXmAddProtocols\fP(3),
\fBXmInternAtom\fP(3), and
\fBXmRemoveWMProtocols\fP\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:17