Create Xref-Html Frames Remove All Frames
file:c:/local/Cygwin/usr/X11R6/include/Xm/DropTrans.h (Tue Mar 30 23:22:38 2004
)
1: /**
2: *
3: * $Id: DropTrans.h,v 1.2 2000/09/23 14:51:40 amai Exp $
4: *
5: * Copyright (C) 1995 Free Software Foundation, Inc.
6: * Copyright (C) 1995-2000 LessTif Development Team
7: *
8: * This file is part of the GNU LessTif Library.
9: *
10: * This library is free software; you can redistribute it and/or
11: * modify it under the terms of the GNU Library General Public
12: * License as published by the Free Software Foundation; either
13: * version 2 of the License, or (at your option) any later version.
14: *
15: * This library is distributed in the hope that it will be useful,
16: * but WITHOUT ANY WARRANTY; without even the implied warranty of
17: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18: * Library General Public License for more details.
19: *
20: * You should have received a copy of the GNU Library General Public
21: * License along with this library; if not, write to the Free
22: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23: *
24: **/
25:
26: #ifndef _XM_DROPTRANS_H
27: #define _XM_DROPTRANS_H
28:
29: #include <Xm/DropTrans.h>
30: #include <Xm/Xm.h>
31:
32: #ifdef __cplusplus
33: extern "C" {
34: #endif
35:
36: enum {
37: XmTRANSFER_FAILURE,
38: XmTRANSFER_SUCCESS
39: };
40:
41: extern WidgetClass xmDropTransferObjectClass;
42:
43: typedef struct _XmDropTransferClassRec *XmDropTransferObjectClass;
44: typedef struct _XmDropTransferRec *XmDropTransferObject;
45:
46: #ifndef XmIsDropTransfer
47: #define XmIsDropTransfer(w) XtIsSubclass((w), xmDropTransferObjectClass)
48: #endif
49:
50: typedef struct _XmDropTransferEntryRec {
51: XtPointer client_data;
52: Atom target;
53: } XmDropTransferEntryRec, *XmDropTransferEntry;
54:
55: Widget XmDropTransferStart(Widget refWidget, ArgList args, Cardinal argCount);
56: void XmDropTransferAdd(Widget widget, XmDropTransferEntry transfers, Cardinal num_transfers);
57:
58: #ifdef __cplusplus
59: }
60: #endif
61:
62: #endif /* _XM_DROPTRANS_H */
63:
Html form generated by Xrefactory version 1.6.7 on Fri Sep 03 17:18:59 2004