Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
XmTargetsAreCompatible(3)   Library Functions Manual   XmTargetsAreCompatible(3)

NAME
     XmTargetsAreCompatible  --  A  function that tests whether the target types
     match between a drop site and source object

SYNOPSIS
     #include <Xm/DragDrop.h>
     Boolean XmTargetsAreCompatible(
     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  desti-
     nation  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.

     export_targets
	       Specifies the list of target atoms associated with the source ob-
	       ject.  This resource identifies the selection targets the  source
	       can convert to.

     num_export_targets
	       Specifies the number of entries in the list of export targets.

     import_targets
	       Specifies  the  list  of targets to be checked against the XmNex-
	       portTargets of the source associated with the specified	DragCon-
	       text

     num_import_targets
	       Specifies the number of entries in the import_targets list.

RETURN
     Returns  a Boolean value that indicates whether the destination targets are
     compatible with the source targets. If there is at least one target in com-
     mon, the routine returns True; otherwise, returns False.

RELATED
     XmDragContext(3) and XmDropSite(3).

						       XmTargetsAreCompatible(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmTargetsAreCompatible&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help