Create Xref-Html Frames Remove All Frames
file:c:/local/Cygwin/usr/X11R6/include/Xm/Display.h (Tue Mar 30 23:22:37 2004
)
1: /**
2: *
3: * $Id: Display.h,v 1.3 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_DISPLAY_H
27: #define _XM_DISPLAY_H
28:
29: #include <Xm/Xm.h>
30: #include <X11/Shell.h>
31: #include <Xm/DragC.h>
32: #include <Xm/DropSMgr.h>
33:
34: #ifdef __cplusplus
35: extern "C" {
36: #endif
37:
38: enum {
39: XmDRAG_NONE,
40: XmDRAG_DROP_ONLY,
41: XmDRAG_PREFER_PREREGISTER,
42: XmDRAG_PREREGISTER,
43: XmDRAG_PREFER_DYNAMIC,
44: XmDRAG_DYNAMIC,
45: XmDRAG_PREFER_RECEIVER
46: };
47:
48: extern WidgetClass xmDisplayClass;
49:
50: typedef struct _XmDisplayRec *XmDisplay;
51: typedef struct _XmDisplayClassRec *XmDisplayClass;
52:
53: extern Widget XmGetXmDisplay(Display *Dsp);
54: extern Widget XmGetDragContext(Widget w, Time time);
55:
56: #define XmGetDisplay(w) XmGetXmDisplay(XtDisplayOfObject(w))
57:
58: #ifndef XmIsDisplay
59: #define XmIsDisplay(w) XtIsSubclass((w), xmDisplayClass)
60: #endif
61:
62: #ifdef __cplusplus
63: }
64: #endif
65:
66: #endif /* _XM_DISPLAY_H */
67:
Html form generated by Xrefactory version 1.6.7 on Fri Sep 03 17:18:59 2004