|
||||
File indexing completed on 2025-01-18 10:15:24
0001 /* 0002 * Motif 0003 * 0004 * Copyright (c) 1987-2012, The Open Group. All rights reserved. 0005 * 0006 * These libraries and programs are free software; you can 0007 * redistribute them and/or modify them under the terms of the GNU 0008 * Lesser General Public License as published by the Free Software 0009 * Foundation; either version 2 of the License, or (at your option) 0010 * any later version. 0011 * 0012 * These libraries and programs are distributed in the hope that 0013 * they will be useful, but WITHOUT ANY WARRANTY; without even the 0014 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 0015 * PURPOSE. See the GNU Lesser General Public License for more 0016 * details. 0017 * 0018 * You should have received a copy of the GNU Lesser General Public 0019 * License along with these librararies and programs; if not, write 0020 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 0021 * Floor, Boston, MA 02110-1301 USA 0022 */ 0023 0024 #ifndef _XmDisplay_h 0025 #define _XmDisplay_h 0026 0027 #include <Xm/Xm.h> 0028 #include <X11/Shell.h> 0029 #include <Xm/DragC.h> 0030 #include <Xm/DropSMgr.h> 0031 0032 #ifdef __cplusplus 0033 extern "C" { 0034 #endif 0035 0036 #ifndef XmIsDisplay 0037 #define XmIsDisplay(w) (XtIsSubclass(w, xmDisplayClass)) 0038 #endif /* XmIsXmDisplay */ 0039 0040 enum { 0041 XmDRAG_NONE, 0042 XmDRAG_DROP_ONLY, 0043 XmDRAG_PREFER_PREREGISTER, 0044 XmDRAG_PREREGISTER, 0045 XmDRAG_PREFER_DYNAMIC, 0046 XmDRAG_DYNAMIC, 0047 XmDRAG_PREFER_RECEIVER 0048 }; 0049 0050 /* Class record constants */ 0051 0052 typedef struct _XmDisplayRec *XmDisplay; 0053 typedef struct _XmDisplayClassRec *XmDisplayClass; 0054 externalref WidgetClass xmDisplayClass; 0055 0056 #define XmGetDisplay(w) XmGetXmDisplay(XtDisplayOfObject(w)) 0057 0058 /******** Public Function Declarations ********/ 0059 0060 extern Widget XmGetDragContext( 0061 Widget w, 0062 Time time) ; 0063 extern Widget XmGetXmDisplay( 0064 Display *display) ; 0065 0066 /******** End Public Function Declarations ********/ 0067 0068 #ifdef __cplusplus 0069 } /* Close scope of 'extern "C"' declaration which encloses file. */ 0070 #endif 0071 0072 #endif /* _XmDisplay_h */ 0073 0074
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |