Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for xmtargetsarecompatible (redhat section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

XmTargetsAreCompatible(library call)			     XmTargetsAreCompatible(library call)

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

       #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 func-
       tion returns True.

       display	 Specifies the display connection.

		 Specifies the list of target atoms associated	with  the  source  object.   This
		 resource identifies the selection targets the source can convert to.

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

		 Specifies  the list of targets to be checked against the XmNexportTargets of the
		 source associated with the specified DragContext

		 Specifies the number of entries in the import_targets list.

       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.

       XmDragContext(3) and XmDropSite(3).

							     XmTargetsAreCompatible(library call)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 10:09 AM.