Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmTargetsAreCompatible(3X) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought



XmTargetsAreCompatible(3X)    SDK X11 R4.11MU05   XmTargetsAreCompatible(3X)


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, exporttargets, numexporttargets,
                      importtargets, numimporttargets)
            Display   *display;
            Atom      *exporttargets;
            Cardinal  numexporttargets;
            Atom      *importtargets;
            Cardinal  numimporttargets;


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


        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
               XmNexportTargets of the source associated with the specified
               DragContext

        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.

RELATED INFORMATION
       XmDragContext(3X) and XmDropSite(3X).


Licensed material--property of copyright holder(s)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026