Debian Codegraph @

demos/unsupported/Exm/Container.h

raw
1 /* $XConsortium: Container.h /main/4 1995/07/15 20:47:08 drk $ */
2 /*
3 * Motif
4 *
5 * Copyright (c) 1987-2012, The Open Group. All rights reserved.
6 *
7 * These libraries and programs are free software; you can
8 * redistribute them and/or modify them under the terms of the GNU
9 * Lesser General Public License as published by the Free Software
10 * Foundation; either version 2 of the License, or (at your option)
11 * any later version.
12 *
13 * These libraries and programs are distributed in the hope that
14 * they will be useful, but WITHOUT ANY WARRANTY; without even the
15 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 * PURPOSE. See the GNU Lesser General Public License for more
17 * details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with these librararies and programs; if not, write
21 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
22 * Floor, Boston, MA 02110-1301 USA
23 *
24 */
25 /*
26 * HISTORY
27 */
28 /*****************************************************************************
29 *
30 * Container.h: The widget public header file.
31 *
32 ****************************************************************************/
33
34
35 /* Ensure that the file be included only once. */
36 #ifndef _ExmContainer_h
37 #define _ExmContainer_h
38
39
40 /* Include appropriate files. */
41 #include <Xm/Xm.h> /* widget public header file for XmManager */
42
43
44 /* Allow for C++ compilation. */
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48
49
50 /* Define the widget class and widget record. */
51 externalref WidgetClass exmContainerWidgetClass;
52
53 typedef struct _ExmContainerClassRec * ExmContainerWidgetClass;
54 typedef struct _ExmContainerRec * ExmContainerWidget;
55
56
57 /* Define an IsSubclass macro. */
58 #ifndef ExmIsContainer
59 #define ExmIsContainer(w) XtIsSubclass(w, exmContainerWidgetClass)
60 #endif
61
62
63 /* Define string equivalents of new resource names. */
64 #define ExmNfirstColumnWidth "firstColumnWidth"
65 #define ExmCFirstColumnWidth "FirstColumnWidth"
66
67 #define ExmNdetailOrder "detailOrder"
68 #define ExmCDetailOrder "DetailOrder"
69
70 #define ExmNdetailOrderCount "detailOrderCount"
71 #define ExmCDetailOrderCount "DetailOrderCount"
72
73 #define ExmNdetailTabList "detailTabList"
74 #define ExmCDetailTabList "DetailTabList"
75
76 #define ExmNdetailHeader "detailHeader"
77 #define ExmCDetailHeader "DetailHeader"
78
79 #define ExmNdetailHeaderCount "detailHeaderCount"
80 #define ExmCDetailHeaderCount "DetailHeaderCount"
81
82 #define ExmNselectColor "selectColor"
83 #define ExmCSelectColor "SelectColor"
84
85 #define ExmNlayoutType "layoutType"
86 #define ExmCLayoutType "LayoutType"
87
88
89 /* Specify the API for this widget. */
90 extern Widget ExmCreateContainer();
91
92
93 /* Allow for C++ compilation. */
94 #ifdef __cplusplus
95 } /* Close scope of 'extern "C"' declaration which encloses file. */
96 #endif
97
98
99 /* Ensure that the file be included only once. */
100 #endif /* _ExmContainer_h */
101 /* DON'T ADD ANYTHING AFTER THIS #endif */
102