'\" t .\" SetWMPro.sgm /main/7 1996/08/30 16:06:11 rws $ .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 "XmSetWMProtocolHooks" 3 .SH "NAME" \fBXmSetWMProtocolHooks\fP \(em A VendorShell convenience interface that allows preactions and postactions to be executed when a protocol message is received from the window manager "XmSetWMProtocolHooks" "VendorShell functions" "XmSetWMProtocolHooks" "protocols" .SH "SYNOPSIS" .PP .nf #include #include \fBvoid \fBXmSetWMProtocolHooks\fP\fR( \fBWidget \fBshell\fR\fR, \fBAtom \fBprotocol\fR\fR, \fBXtCallbackProc \fBprehook\fR\fR, \fBXtPointer \fBpre_closure\fR\fR, \fBXtCallbackProc \fBposthook\fR\fR, \fBXtPointer \fBpost_closure\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmSetWMProtocolHooks\fP is a convenience interface\&. It calls \fBXmSetProtocolHooks\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 "\fIprotocol\fP" 10 Specifies the protocol atom (or an \fIint\fP cast to \fBAtom\fP) .IP "\fIprehook\fP" 10 Specifies the procedure to call before calling entries on the client callback list .IP "\fIpre_closure\fP" 10 Specifies the client data to be passed to the prehook when it is invoked .IP "\fIposthook\fP" 10 Specifies the procedure to call after calling entries on the client callback list .IP "\fIpost_closure\fP" 10 Specifies the client data to be passed to the posthook when it is invoked .PP For a complete definition of VendorShell and its associated resources, see \fBVendorShell\fP(3)\&. .SH "RELATED" .PP \fBVendorShell\fP(3), \fBXmInternAtom\fP(3), and \fBXmSetProtocolHooks\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:30