XmTargetsAreCompatible(Xm) 6 January 1993 XmTargetsAreCompatible(Xm) Name XmTargetsAreCompatible - a function that tests whether the target types match between a drop site and source object Syntax #include <Xm/DragDrop.h> Boolean XmTargetsAreCompatible (display, export_targets, num_export_targets, import_targets, num_import_targets) Display *display; Atom *export_targets; Cardinal num_export_targets; Atom *import_targets; Cardinal num_import_targets; Description XmTargetsAreCompatible determines whether the import targets of the des- tination match any of the export targets of a source. If there is at least one target in common, the function returns True. display Specifies the display connection. exporttargets Specifies the list of target atoms associated with the source object. This resource identifies the selection targets the source can convert to. numexporttargets Specifies the number of entries in the list of export targets. importtargets Specifies the list of targets to be checked against the XmNex- portTargets of the source associated with the specified DragCon- text. numimporttargets Specifies the number of entries in the importtargets list. Return value 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. See also XmDragContext(Xm) and XmDropSite(Xm).