XmTargetsAreCompatible(3) | Library Functions Manual | XmTargetsAreCompatible(3) |
XmTargetsAreCompatible — A function that tests whether the target types match between a drop site and source object "XmTargetsAreCompatible" "Drag and Drop functions" "XmTargetsAreCompatible"
#include <Xm/DragDrop.h> Boolean XmTargetsAreCompatible( Display *display, Atom *export_targets, Cardinal num_export_targets, Atom *import_targets, Cardinal num_import_targets);
XmTargetsAreCompatible 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.
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.