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

  man pages->HP-UX 11i man pages -> XmTransferDone (3)              
Title
Content
Arch
Section
 

Contents


 XmTransferDone(library call)                   XmTransferDone(library call)




 NAME    [Toc]    [Back]
      XmTransferDone - A toolkit function that completes a data transfer

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>

      void XmTransferDone(
      XtPointer transfer_id,
      XmTransferStatus status);

 DESCRIPTION    [Toc]    [Back]
      XmTransferDone completes an already-initiated data transfer operation.
      An application can call this routine from an XmNdestinationCallback
      procedure or any function called as a result, including the selection
      procedures called as a result of calls to XmTransferValue.

      The caller of XmTransferDone supplies an identifier for the transfer
      operation and an indication of the completion status.  XmTransferDone
      causes any remaining transfers for the operation to be discarded.

      transfer_id
                Specifies a unique indentifier for the data transfer
                operation.  The value must be the same as the value of the
                transfer_id member of the XmDestinationCallbackStruct passed
                to the XmNdestinationCallback procedure.

      status    Specifies the completion status of the data transfer.
                Following are the possible values:

                XmTRANSFER_DONE_SUCCEED    [Toc]    [Back]
                          The transfer was completed successfully.  This
                          status has the following additional effects:

                             +  For a move operation, the selection owner
                                receives a request to convert the selection
                                to the DELETE target.

                             +  If a TRANSACT operation is in progress, the
                                owner receives a request to commit the
                                transaction.

                             +  If a PERSIST or _MOTIF_SNAPSHOT operation is
                                in progress, the owner receives a
                                notification that the operation is finished.

                             +  The widget class destination procedure is
                                not called.

                XmTRANSFER_DONE_FAIL    [Toc]    [Back]
                          The transfer was completed unsuccessfully.  This
                          status has the following additional effects:



                                    - 1 -       Formatted:  January 24, 2005






 XmTransferDone(library call)                   XmTransferDone(library call)




                             +  For a move operation, the selection owner
                                does not receive a request to convert the
                                selection to the DELETE target.

                             +  For a drag and drop operation, the
                                DropTransfer's XmNtransferStatus is set to
                                XmTRANSFER_FAILURE.

                             +  If a TRANSACT operation is in progress, the
                                owner receives a request to abort the
                                transaction.

                             +  If a PERSIST or _MOTIF_SNAPSHOT operation is
                                in progress, the owner receives a
                                notification that the operation is finished.

                             +  The widget class destination procedure is
                                not called.

                XmTRANSFER_DONE_CONTINUE    [Toc]    [Back]
                          This status has the same effect as
                          XmTRANSFER_DONE_SUCCEED, except that if a PERSIST
                          or _MOTIF_SNAPSHOT operation is in progress, the
                          owner does not receive a notification that the
                          operation is finished.

                XmTRANSFER_DONE_DEFAULT    [Toc]    [Back]
                          The widget class destination procedure is called.
                          Further effects depend on the actions of that
                          procedure.

 RELATED    [Toc]    [Back]
      XmTransferSendRequest(3), XmTransferStartRequest(3),
      XmTransferStartRequest(3), and XmTransferValue(3).


                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmTransferStartRequest HP-UX A toolkit function that begins a MULTIPLE transfer
XmTransferValue HP-UX A toolkit function that transfers data to a destination
XmClipboardEndRetrieve HP-UX A clipboard function that completes retrieval of data from the clipboard
XmClipboardEndCopy HP-UX A clipboard function that completes the copying of data to the clipboard
XmTrackingEvent IRIX A Toolkit function that provides a modal interaction
XmTrackingLocate Tru64 A Toolkit function that provides a modal interaction
XmTrackingEvent HP-UX A Toolkit function that provides a modal interaction
XmTrackingLocate IRIX A Toolkit function that provides a modal interaction
XmTrackingLocate HP-UX A Toolkit function that provides a modal interaction
XmTrackingEvent Tru64 A Toolkit function that provides a modal interaction
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service