File indexing completed on 2025-01-18 10:15:25
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #ifndef _XmDropTransferP_h
0025 #define _XmDropTransferP_h
0026
0027 #include <Xm/DropTrans.h>
0028 #include <Xm/XmP.h>
0029
0030
0031 #ifdef __cplusplus
0032 extern "C" {
0033 #endif
0034
0035
0036
0037 typedef Widget (*XmDropTransferStartTransferProc)(Widget,
0038 ArgList, Cardinal);
0039 typedef void (*XmDropTransferAddTransferProc)(Widget,
0040 XmDropTransferEntry, Cardinal);
0041
0042 typedef struct _XmDropTransferClassPart
0043 {
0044 XmDropTransferStartTransferProc start_drop_transfer;
0045 XmDropTransferAddTransferProc add_drop_transfer;
0046 XtPointer extension;
0047 } XmDropTransferClassPart;
0048
0049
0050
0051 typedef struct _XmDropTransferClassRec
0052 {
0053 ObjectClassPart object_class;
0054 XmDropTransferClassPart dropTransfer_class;
0055 } XmDropTransferClassRec;
0056
0057 externalref XmDropTransferClassRec xmDropTransferClassRec;
0058
0059
0060 typedef struct _XmDropTransferListRec {
0061 XmDropTransferEntry transfer_list;
0062 Cardinal num_transfers;
0063 } XmDropTransferListRec, * XmDropTransferList;
0064
0065
0066
0067
0068 typedef struct _XmDropTransferPart
0069 {
0070 XmDropTransferEntry drop_transfers;
0071 Cardinal num_drop_transfers;
0072 Atom selection;
0073 Widget dragContext;
0074 Time timestamp;
0075 Boolean incremental;
0076 Window source_window;
0077 unsigned int tag;
0078 XtSelectionCallbackProc transfer_callback;
0079 unsigned char transfer_status;
0080
0081 Atom motif_drop_atom;
0082
0083 XmDropTransferList drop_transfer_lists;
0084 Cardinal num_drop_transfer_lists;
0085 Cardinal cur_drop_transfer_list;
0086 Cardinal cur_xfer;
0087 Atom * cur_targets;
0088 XtPointer * cur_client_data;
0089 } XmDropTransferPart;
0090
0091
0092
0093 typedef struct _XmDropTransferRec
0094 {
0095 ObjectPart object;
0096 XmDropTransferPart dropTransfer;
0097 } XmDropTransferRec;
0098
0099
0100
0101
0102
0103
0104
0105
0106 #ifdef __cplusplus
0107 }
0108 #endif
0109
0110 #endif
0111