*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> XmTargetsAreCompatible (3X)              
Title
Content
Arch
Section
 

XmTargetsAreCompatible(3X)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

       #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    [Toc]    [Back]

       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.  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.

RETURN VALUE    [Toc]    [Back]

       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    [Toc]    [Back]

      
      
       XmDragContext(3X), XmDropSite(3X)



                                       XmTargetsAreCompatible(3X)
[ Back ]
 Similar pages
Name OS Title
XmDropSiteRegister HP-UX A Drag and Drop function that identifies a drop site and assigns resources that specify its behavior
XmDropSiteRegister Tru64 A Drag and Drop function that identifies a drop site and assigns resources that specify its behavior
XmDropSiteRegister IRIX A Drag and Drop function that identifies a drop site and assigns resources that specify its behavior
XmDropSiteUpdate IRIX A Drag and Drop function that sets resource values for a drop site
XmDropSiteUpdate HP-UX A Drag and Drop function that sets resource values for a drop site
XmDropSiteRetrieve HP-UX A Drag and Drop function that retrieves resource values set on a drop site
XmDropSiteRetrieve IRIX A Drag and Drop function that retrieves resource values set on a drop site
XmDropSiteUpdate Tru64 A Drag and Drop function that sets resource values for a drop site
XmDropSiteRetrieve Tru64 A Drag and Drop function that retrieves resource values set on a drop site
XmDropSiteRegistered HP-UX A Drag and Drop function that determines if a drop site has been registered
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service