AllWidgets.c revision 421c997b
17a84e134Smrg/* 27a84e134Smrg 37a84e134SmrgCopyright (c) 1991, 1994, 1998 The Open Group 47a84e134Smrg 57a84e134SmrgPermission to use, copy, modify, distribute, and sell this software and its 67a84e134Smrgdocumentation for any purpose is hereby granted without fee, provided that 77a84e134Smrgthe above copyright notice appear in all copies and that both that 87a84e134Smrgcopyright notice and this permission notice appear in supporting 97a84e134Smrgdocumentation. 107a84e134Smrg 117a84e134SmrgThe above copyright notice and this permission notice shall be included in 127a84e134Smrgall copies or substantial portions of the Software. 137a84e134Smrg 147a84e134SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 157a84e134SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 167a84e134SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 177a84e134SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 187a84e134SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 197a84e134SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 207a84e134Smrg 217a84e134SmrgExcept as contained in this notice, the name of The Open Group shall not be 227a84e134Smrgused in advertising or otherwise to promote the sale, use or other dealings 237a84e134Smrgin this Software without prior written authorization from The Open Group. 247a84e134Smrg 257a84e134Smrg*/ 267a84e134Smrg 277a84e134Smrg#ifdef HAVE_CONFIG_H 287a84e134Smrg#include <config.h> 297a84e134Smrg#endif 307a84e134Smrg#include <X11/IntrinsicP.h> 31775e7de9Smrg#include <X11/Xaw/AllWidgets.h> 327a84e134Smrg 33421c997bSmrg#include <X11/Composite.h> 34421c997bSmrg#include <X11/Constraint.h> 35421c997bSmrg#include <X11/Core.h> 36421c997bSmrg#include <X11/Object.h> 37421c997bSmrg#include <X11/RectObj.h> 38421c997bSmrg#include <X11/Shell.h> 39421c997bSmrg#include <X11/Vendor.h> 40421c997bSmrg#include <X11/Xaw/AsciiSink.h> 41421c997bSmrg#include <X11/Xaw/AsciiText.h> 42421c997bSmrg#include <X11/Xaw/Box.h> 43421c997bSmrg#include <X11/Xaw/Dialog.h> 44421c997bSmrg#include <X11/Xaw/Form.h> 45421c997bSmrg#include <X11/Xaw/Grip.h> 46421c997bSmrg#include <X11/Xaw/List.h> 47421c997bSmrg#include <X11/Xaw/MenuButton.h> 48421c997bSmrg#include <X11/Xaw/MultiSink.h> 49421c997bSmrg#include <X11/Xaw/Paned.h> 50421c997bSmrg#include <X11/Xaw/Panner.h> 51421c997bSmrg#include <X11/Xaw/Porthole.h> 52421c997bSmrg#include <X11/Xaw/Repeater.h> 53421c997bSmrg#include <X11/Xaw/Scrollbar.h> 54421c997bSmrg#include <X11/Xaw/SimpleMenu.h> 55421c997bSmrg#include <X11/Xaw/Sme.h> 56421c997bSmrg#include <X11/Xaw/SmeBSB.h> 57421c997bSmrg#include <X11/Xaw/SmeLine.h> 58421c997bSmrg#include <X11/Xaw/StripChart.h> 59421c997bSmrg#include <X11/Xaw/Toggle.h> 60421c997bSmrg#include <X11/Xaw/Tree.h> 61421c997bSmrg#include <X11/Xaw/Viewport.h> 627a84e134Smrg 637a84e134SmrgXmuWidgetNode XawWidgetArray[] = { 647a84e134Smrg{ "applicationShell", &applicationShellWidgetClass }, 657a84e134Smrg{ "asciiSink", &asciiSinkObjectClass }, 667a84e134Smrg{ "asciiSrc", &asciiSrcObjectClass }, 677a84e134Smrg{ "asciiText", &asciiTextWidgetClass }, 687a84e134Smrg{ "box", &boxWidgetClass }, 697a84e134Smrg{ "command", &commandWidgetClass }, 707a84e134Smrg{ "composite", &compositeWidgetClass }, 717a84e134Smrg{ "constraint", &constraintWidgetClass }, 727a84e134Smrg{ "core", &coreWidgetClass }, 737a84e134Smrg{ "dialog", &dialogWidgetClass }, 747a84e134Smrg{ "form", &formWidgetClass }, 757a84e134Smrg{ "grip", &gripWidgetClass }, 767a84e134Smrg{ "label", &labelWidgetClass }, 777a84e134Smrg{ "list", &listWidgetClass }, 787a84e134Smrg{ "menuButton", &menuButtonWidgetClass }, 797a84e134Smrg{ "multiSink", &multiSinkObjectClass }, 807a84e134Smrg{ "multiSrc", &multiSrcObjectClass }, 817a84e134Smrg{ "object", &objectClass }, 827a84e134Smrg{ "overrideShell", &overrideShellWidgetClass }, 837a84e134Smrg{ "paned", &panedWidgetClass }, 847a84e134Smrg{ "panner", &pannerWidgetClass }, 857a84e134Smrg{ "porthole", &portholeWidgetClass }, 867a84e134Smrg{ "rect", &rectObjClass }, 877a84e134Smrg{ "repeater", &repeaterWidgetClass }, 887a84e134Smrg{ "scrollbar", &scrollbarWidgetClass }, 897a84e134Smrg{ "shell", &shellWidgetClass }, 907a84e134Smrg{ "simpleMenu", &simpleMenuWidgetClass }, 917a84e134Smrg{ "simple", &simpleWidgetClass }, 927a84e134Smrg{ "smeBSB", &smeBSBObjectClass }, 937a84e134Smrg{ "smeLine", &smeLineObjectClass }, 947a84e134Smrg{ "sme", &smeObjectClass }, 957a84e134Smrg{ "stripChart", &stripChartWidgetClass }, 967a84e134Smrg{ "textSink", &textSinkObjectClass }, 977a84e134Smrg{ "textSrc", &textSrcObjectClass }, 987a84e134Smrg{ "text", &textWidgetClass }, 997a84e134Smrg{ "toggle", &toggleWidgetClass }, 1007a84e134Smrg{ "topLevelShell", &topLevelShellWidgetClass }, 1017a84e134Smrg{ "transientShell", &transientShellWidgetClass }, 1027a84e134Smrg{ "tree", &treeWidgetClass }, 1037a84e134Smrg{ "vendorShell", &vendorShellWidgetClass }, 1047a84e134Smrg{ "viewport", &viewportWidgetClass }, 1057a84e134Smrg{ "wmShell", &wmShellWidgetClass }, 1067a84e134Smrg}; 1077a84e134Smrg 1087a84e134Smrgint XawWidgetCount = XtNumber(XawWidgetArray); 1097a84e134Smrg 110