AllWidgets.c revision 994689c1
1/*
2
3Copyright (c) 1991, 1994, 1998  The Open Group
4
5Permission to use, copy, modify, distribute, and sell this software and its
6documentation for any purpose is hereby granted without fee, provided that
7the above copyright notice appear in all copies and that both that
8copyright notice and this permission notice appear in supporting
9documentation.
10
11The above copyright notice and this permission notice shall be included in
12all copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
17OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
21Except as contained in this notice, the name of The Open Group shall not be
22used in advertising or otherwise to promote the sale, use or other dealings
23in this Software without prior written authorization from The Open Group.
24
25*/
26
27#ifdef HAVE_CONFIG_H
28#include <config.h>
29#endif
30#include <X11/IntrinsicP.h>
31#include <X11/Xmu/WidgetNode.h>
32#include <X11/Xaw/AllWidgets.h>
33
34extern WidgetClass applicationShellWidgetClass;
35extern WidgetClass asciiSinkObjectClass;
36extern WidgetClass asciiSrcObjectClass;
37extern WidgetClass asciiTextWidgetClass;
38extern WidgetClass boxWidgetClass;
39extern WidgetClass commandWidgetClass;
40extern WidgetClass dialogWidgetClass;
41extern WidgetClass formWidgetClass;
42extern WidgetClass gripWidgetClass;
43extern WidgetClass labelWidgetClass;
44extern WidgetClass listWidgetClass;
45extern WidgetClass menuButtonWidgetClass;
46extern WidgetClass multiSinkObjectClass;
47extern WidgetClass multiSrcObjectClass;
48extern WidgetClass overrideShellWidgetClass;
49extern WidgetClass panedWidgetClass;
50extern WidgetClass pannerWidgetClass;
51extern WidgetClass portholeWidgetClass;
52extern WidgetClass repeaterWidgetClass;
53extern WidgetClass scrollbarWidgetClass;
54extern WidgetClass shellWidgetClass;
55extern WidgetClass simpleMenuWidgetClass;
56extern WidgetClass simpleWidgetClass;
57extern WidgetClass smeBSBObjectClass;
58extern WidgetClass smeLineObjectClass;
59extern WidgetClass smeObjectClass;
60extern WidgetClass stripChartWidgetClass;
61extern WidgetClass textSinkObjectClass;
62extern WidgetClass textSrcObjectClass;
63extern WidgetClass textWidgetClass;
64extern WidgetClass toggleWidgetClass;
65extern WidgetClass topLevelShellWidgetClass;
66extern WidgetClass transientShellWidgetClass;
67extern WidgetClass treeWidgetClass;
68extern WidgetClass vendorShellWidgetClass;
69extern WidgetClass viewportWidgetClass;
70extern WidgetClass wmShellWidgetClass;
71
72XmuWidgetNode XawWidgetArray[] = {
73{ "applicationShell", &applicationShellWidgetClass },
74{ "asciiSink", &asciiSinkObjectClass },
75{ "asciiSrc", &asciiSrcObjectClass },
76{ "asciiText", &asciiTextWidgetClass },
77{ "box", &boxWidgetClass },
78{ "command", &commandWidgetClass },
79{ "composite", &compositeWidgetClass },
80{ "constraint", &constraintWidgetClass },
81{ "core", &coreWidgetClass },
82{ "dialog", &dialogWidgetClass },
83{ "form", &formWidgetClass },
84{ "grip", &gripWidgetClass },
85{ "label", &labelWidgetClass },
86{ "list", &listWidgetClass },
87{ "menuButton", &menuButtonWidgetClass },
88{ "multiSink", &multiSinkObjectClass },
89{ "multiSrc", &multiSrcObjectClass },
90{ "object", &objectClass },
91{ "overrideShell", &overrideShellWidgetClass },
92{ "paned", &panedWidgetClass },
93{ "panner", &pannerWidgetClass },
94{ "porthole", &portholeWidgetClass },
95{ "rect", &rectObjClass },
96{ "repeater", &repeaterWidgetClass },
97{ "scrollbar", &scrollbarWidgetClass },
98{ "shell", &shellWidgetClass },
99{ "simpleMenu", &simpleMenuWidgetClass },
100{ "simple", &simpleWidgetClass },
101{ "smeBSB", &smeBSBObjectClass },
102{ "smeLine", &smeLineObjectClass },
103{ "sme", &smeObjectClass },
104{ "stripChart", &stripChartWidgetClass },
105{ "textSink", &textSinkObjectClass },
106{ "textSrc", &textSrcObjectClass },
107{ "text", &textWidgetClass },
108{ "toggle", &toggleWidgetClass },
109{ "topLevelShell", &topLevelShellWidgetClass },
110{ "transientShell", &transientShellWidgetClass },
111{ "tree", &treeWidgetClass },
112{ "vendorShell", &vendorShellWidgetClass },
113{ "viewport", &viewportWidgetClass },
114{ "wmShell", &wmShellWidgetClass },
115};
116
117int XawWidgetCount = XtNumber(XawWidgetArray);
118
119