... XmDropTransfer - Online Linux Manual PageSection : library call

NAMEXmDropTransfer — The DropTransfer widget class .iX "XmDropSite" .iX "widget class" "DropTransfer"

SYNOPSIS#include <Xm/DragDrop​.h>

DESCRIPTIONDropTransfer provides a set of resources that identifies the procedures and associated information required by the toolkit in order to process and complete a drop transaction​. Clients should not explicitly create a DropTransfer widget​. Instead, a client initiates a transfer by calling XmDropTransferStart, which initializes and returns a DropTransfer widget​. If this function is called within an XmNdropProc callback, the actual transfers are initiated after the callback returns​. Even if no data needs to be transferred, XmDropTransferStart needs to be called (typically with no arguments, or just setting XmNtransferStatus) to finish the drag and drop transaction​. The XmNdropTransfers resource specifies a transfer list that describes the requested target types for the source data​. A transfer list is an array of XmDropTransferEntryRec structures, each of which identifies a target type​. The transfer list is analogous to the MULTIPLE selections capability defined in the Inter-Client Communication Conventions Manual (ICCCM)​. The DropTransfer resource, XmNtransferProc, specifies a transfer procedure of type XtSelectionCallbackProc that delivers the requested selection data​. This procedure operates in conjunction with the underlying Xt selection capabilities and is called for each target in the transfer list​. Additional target types can be requested after a transfer is initiated by calling the XmDropTransferAdd function​.

StructuresAn XmDropTransferEntry is a pointer to the following structure of type XmDropTransferEntryRec, which identifies a selection target associated with a given drop transaction: typedef struct { XtPointer client_data; Atom target; } XmDropTransferEntryRec, *XmDropTransferEntry;client_data Specifies any additional information required by this selection target target Specifies a selection target associated with the drop operation

ClassesDropTransfer inherits behavior and a resource from Object​. The class pointer is xmDropTransferObjectClass​. The class name is XmDropTransfer​.

New ResourcesThe following table defines a set of widget resources used by the programmer to specify data​. The programmer can also set the resource values for the inherited classes to set attributes for this widget​. To reference a resource by name or by class in a ​.Xdefaults file, remove the XmN or XmC prefix and use the remaining letters​. To specify one of the defined values for a resource in a ​.Xdefaults file, remove the Xm prefix and use the remaining letters (in either lowercase or uppercase, but include any underscores between words)​. The codes in the access column indicate if the given resource can be set at creation time (C), set by using XtSetValues (S), retrieved by using XtGetValues (G), or is not applicable (N/A)​. XmDropTransfer Resource Set NameClassTypeDefaultAccess XmNdropTransfersXmCDropTransfersXmDropTransferEntryRec *NULLCG XmNincrementalXmCIncrementalBooleanFalseCSG XmNnumDropTransfersXmCNumDropTransfersCardinal0CSG XmNtransferProcXmCTransferProcXtSelectionCallbackProcNULLCSG XmNtransferStatusXmCTransferStatusunsigned charXmTRANSFER_SUCCESSCSG XmNdropTransfers Specifies the address of an array of drop transfer entry records​. The drop transfer is complete when all the entries in the list have been processed​. XmNincremental Specifies a Boolean value that indicates whether the transfer on the receiver side uses the Xt incremental selection transfer mechanism described in X Toolkit Intrinsics—C Language Interface​. If the value is True, the receiver uses incremental transfer; if the value is False, the receiver uses atomic transfer​. XmNnumDropTransfers Specifies the number of entries in XmNdropTransfers​. If this resource is set to 0 at any time, the transfer is considered complete​. The value of XmNtransferStatus determines the completion handshaking process​. XmNtransferProc Specifies a procedure of type XtSelectionCallbackProc that delivers the requested selection values​. The widget argument passed to this procedure is the DropTransfer widget​. The selection atom passed is _MOTIF_DROP​. For additional information on selection callback procedures, see X Toolkit Intrinsics—C Language Interface​. XmNtransferStatus Specifies the current status of the drop transfer​. The client updates this value when the transfer ends and communicates the value to the initiator​. The possible values are XmTRANSFER_SUCCESS The transfer succeeded​. XmTRANSFER_FAILURE The transfer failed​.

Inherited ResourcesDropTransfer inherits behavior and a resource from Object​. For a complete description of this resource, refer to the Object reference page​. Object Resource Set NameClassTypeDefaultAccess XmNdestroyCallbackXmCCallbackXtCallbackListNULLC

RELATED INFORMATIONObject(3), XmDisplay(3), XmDragContext(3), XmDragIcon(3), XmDropSite(3), XmDropTransferAdd(3), and XmDropTransferStart(3)​. ...
0
Johanes Gumabo
Data Size   :   23,395 byte
man-XmDropTransfer.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 200,412
Visitor ID   :     :  
Visitor IP   :   18.221.248.140   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|XmDropTransfer.3|2|..|... )         (parse_manual_page_|249|XmDropTransfer.3|52|iX|.iX "XmDropSite" )         (parse_manual_page_|249|XmDropTransfer.3|53|iX|.iX "widget class" "DropTransfer" )         (parse_manual_page_|249|XmDropTransfer.3|206|..|... )