2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: View.h /main/3 1995/10/26 09:35:11 rswiston $ */
24 /**---------------------------------------------------------------------
28 *** project: MotifPlus Widgets
30 *** description: Public include file for DtView class.
33 *** (c) Copyright 1990 by Hewlett-Packard Company.
36 ***-------------------------------------------------------------------*/
44 #if defined(__cplusplus) || defined(c_plusplus)
48 /* Temporary location for resource definition. Need to */
49 /* move into the string defs file. */
51 #define XmNsubpanelUnpostOnSelect "subpanelUnpostOnSelect"
52 #define XmCSubpanelUnpostOnSelect "SubpanelUnpostOnSelect"
53 #define XmNsubpanelTorn "subpanelTorn"
54 #define XmCSubpanelTorn "SubpanelTorn"
56 /* These macros are also defined in DtStrDefs.h */
58 /* Control.c->Control.h->Icon.h->DtStrDefs.h */
61 #define XmNleftInset "leftInset"
62 #endif /* XmNleftInset */
65 #define XmNrightInset "rightInset"
66 #endif /* XmNrightInset */
69 #define XmNtopInset "topInset"
70 #endif /* XmNtopInset */
72 #ifndef XmNbottomInset
73 #define XmNbottomInset "bottomInset"
74 #endif /* XmNbottomInset */
76 #ifndef XmNwidthIncrement
77 #define XmNwidthIncrement "widthIncrement"
78 #endif /* XmNwidthIncrement */
80 #ifndef XmNheightIncrement
81 #define XmNheightIncrement "heightIncrement"
82 #endif /* XmNheightIncrement */
85 #define XmNboxType "boxType"
86 #endif /* XmNboxType */
89 #define XmCBoxType "BoxType"
90 #endif /* XmCBoxType */
93 #define XmRBoxType "BoxType"
94 #endif /* XmRBoxType */
97 #define XmBOX_PRIMARY 1
98 #define XmBOX_SECONDARY 2
99 #define XmBOX_SUBPANEL 3
100 #define XmBOX_SWITCH 4
103 #define DtIsView(w) XtIsSubclass(w, dtViewWidgetClass)
104 #endif /* XmIsView */
107 extern Widget _DtCreateView();
109 extern WidgetClass dtViewWidgetClass;
111 typedef struct _DtViewClassRec * DtViewWidgetClass;
112 typedef struct _DtViewRec * DtViewWidget;
123 } DtViewCallbackStruct;
125 #define XmCR_SELECT XmCR_SINGLE_SELECT
127 #if defined(__cplusplus) || defined(c_plusplus)
128 } /* Close scope of 'extern "C"' declaration which encloses file. */
131 #endif /* _DtView_h */
132 /* DON'T ADD ANYTHING AFTER THIS #endif */