'\" t .\" TargetsA.sgm /main/8 1996/09/08 21:09:52 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 "XmTargetsAreCompatible" 3 .SH "NAME" \fBXmTargetsAreCompatible\fP \(em A function that tests whether the target types match between a drop site and source object "XmTargetsAreCompatible" "Drag and Drop functions" "XmTargetsAreCompatible" .SH "SYNOPSIS" .PP .nf #include \fBBoolean \fBXmTargetsAreCompatible\fP\fR( \fBDisplay *\fBdisplay\fR\fR, \fBAtom *\fBexport_targets\fR\fR, \fBCardinal \fBnum_export_targets\fR\fR, \fBAtom *\fBimport_targets\fR\fR, \fBCardinal \fBnum_import_targets\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmTargetsAreCompatible\fP determines whether the import targets of the destination match any of the export targets of a source\&. If there is at least one target in common, the function returns True\&. .IP "\fIdisplay\fP" 10 Specifies the display connection\&. .IP "\fIexport_targets\fP" 10 Specifies the list of target atoms associated with the source object\&. This resource identifies the selection targets the source can convert to\&. .IP "\fInum_export_targets\fP" 10 Specifies the number of entries in the list of export targets\&. .IP "\fIimport_targets\fP" 10 Specifies the list of targets to be checked against the \fBXmNexportTargets\fP of the source associated with the specified DragContext .IP "\fInum_import_targets\fP" 10 Specifies the number of entries in the \fIimport_targets\fP list\&. .SH "RETURN" .PP Returns a Boolean value that indicates whether the destination targets are compatible with the source targets\&. If there is at least one target in common, the routine returns True; otherwise, returns False\&. .SH "RELATED" .PP \fBXmDragContext\fP(3) and \fBXmDropSite\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:32