Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / osf / wml / motif.wml
1 ! @OSF_COPYRIGHT@
2 ! COPYRIGHT NOTICE
3 ! Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
4 ! ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
5 ! the full copyright text.
6
7 ! HISTORY
8
9 !
10 ! This file defines the Motif UIL language
11 !
12
13 !
14 ! UIL data types
15 !
16 DataType
17         integer;
18         string          { InternalLiteral = char_8; };
19         boolean         { InternalLiteral = bool; };
20         pixmap;
21         float;
22         font;
23         translation_table
24                         { InternalLiteral = trans_table;
25                           DocName = "translation table";};
26         widget_ref      { DocName = "widget reference"; };
27         any;
28         color;
29         compound_string { DocName = "compound string"; };
30         string_table    { DocName = "string table"; };
31         font_table      { DocName = "font table"; };
32         icon;
33         color_table     { DocName = "color table"; };
34         class_rec_name  { DocName = "class record name"; };
35         argument;
36         reason;
37         identifier;
38         asciz_table     { DocName = "asciz table"; };
39         integer_table   { DocName = "integer table"; };
40         xbitmapfile     { DocName = "X bitmap file"; };
41         single_float    { DocName = "Single float"; };
42         keysym;
43         rgb;    
44         localized_string 
45                         { DocName = "localized string"; };
46         wide_character  { InternalLiteral = wchar_string;
47                           DocName = "wide character string"; };
48         fontset;
49         horizontal_integer;
50         vertical_integer;
51         horizontal_float;
52         vertical_float;
53 \f
54 !
55 ! UIL character sets
56 !
57 CharacterSet
58         iso_latin1
59                 { XmStringCharsetName = "ISO8859-1";
60                   Alias = "ISOLatin1";
61                   Alias = "88591";
62                   Alias = "ASCII"; };
63         iso_latin2
64                 { XmStringCharsetName = "ISO8859-2";
65                   Alias = "ISOLatin2";
66                   Alias = "88592"; };
67         iso_latin3
68                 { XmStringCharsetName = "ISO8859-3";
69                   Alias = "ISOLatin3"; 
70                   Alias = "88593"; };
71         iso_latin4
72                 { XmStringCharsetName = "ISO8859-4";
73                   Alias = "ISOLatin4";
74                   Alias = "88594"; };
75         iso_latin5
76                 { XmStringCharsetName = "ISO8859-5";
77                   Alias = "ISOLatin5";
78                   Alias = "88595"; };
79         iso_cyrillic
80                 { XmStringCharsetName = "ISO8859-5"; };
81         iso_arabic
82                 { XmStringCharsetName = "ISO8859-6";
83                   Alias = "iso_latin6";
84                   Alias = "ISOLatin6";
85                   Alias = "88596"; 
86                   Direction = RightToLeft; };
87         iso_arabic_lr
88                 { XmStringCharsetName = "ISO8859-6";
89                   Alias = "iso_latin6_lr";
90                   Direction = RightToLeft;
91                   ParseDirection = LeftToRight; };
92         iso_greek
93                 { XmStringCharsetName = "ISO8859-7";
94                   Alias = "iso_latin7";
95                   Alias = "ISOLatin7";
96                   Alias = "88597";  };
97         iso_hebrew
98                 { XmStringCharsetName = "ISO8859-8";
99                   Alias = "iso_latin8";
100                   Alias = "ISOLatin8";
101                   Alias = "88598";
102                   Direction = RightToLeft; };
103         iso_hebrew_lr
104                 { XmStringCharsetName = "ISO8859-8";
105                   Alias = "iso_latin8_lr";
106                   Direction = RightToLeft;
107                   ParseDirection = LeftToRight; };
108         jis_katakana
109                 { XmStringCharsetName = "JISX0201.1976-0"; };
110         euc
111                 { XmStringCharsetName = ""; };
112         big5
113                 { XmStringCharsetName = ""; };
114         gb_hanzi
115                 { XmStringCharsetName = "GB2312.1980-0";
116                   Alias = "gb_chinese";
117                   Alias = "gb_hanzi_gl";
118                   CharacterSize = TwoByte; };
119         jis_kanji
120                 { XmStringCharsetName = "JISX0208.1983-0";
121                   Alias = "jis_japanese";
122                   Alias = "jis_kanji_gl";
123                   CharacterSize = TwoByte; };
124         ksc_hangul
125                 { XmStringCharsetName = "KSC5601.1987-0";
126                   Alias = "ksc_korean";
127                   Alias = "ksc_hangul_gl";
128                   CharacterSize = TwoByte; };
129         gb_hanzi_gr
130                 { XmStringCharsetName = "GB2312.1980-1";
131                   CharacterSize = TwoByte; };
132         jis_kanji_gr
133                 { XmStringCharsetName = "JISX0208.1983-1";
134                   CharacterSize = TwoByte; };
135         ksc_hangul_gr
136                 { XmStringCharsetName = "KSC5601.1987-1";
137                   CharacterSize = TwoByte; };
138         XmFONTLIST_DEFAULT_TAG  
139                 { FontListElementTag = XmFONTLIST_DEFAULT_TAG; };
140
141         _MOTIF_DEFAULT_LOCALE
142                 { FontListElementTag = _MOTIF_DEFAULT_LOCALE; };
143 \f
144 !
145 ! UIL Enumeration Sets
146 !
147 EnumerationSet
148         ! This is here to insure that uil compiles correctly because
149         ! of dependencies introduced with boolean -> enum resources
150         BoolValues : integer
151                 { FALSE; TRUE; };
152         ArrowDirection : integer
153                 { XmARROW_UP; XmARROW_DOWN; XmARROW_LEFT; XmARROW_RIGHT; };
154         ResizePolicy : integer
155                 { XmRESIZE_NONE; XmRESIZE_ANY; XmRESIZE_GROW; };
156         DialogStyle : integer
157                 { XmDIALOG_SYSTEM_MODAL; XmDIALOG_PRIMARY_APPLICATION_MODAL;
158                   XmDIALOG_MODELESS; XmDIALOG_WORK_AREA;
159                   XmDIALOG_FULL_APPLICATION_MODAL; XmDIALOG_APPLICATION_MODAL; };
160         DialogType : integer
161                 { XmDIALOG_PROMPT;  XmDIALOG_SELECTION;
162                   XmDIALOG_WORK_AREA;  XmDIALOG_FILE_SELECTION;
163                   XmDIALOG_ERROR; XmDIALOG_INFORMATION; XmDIALOG_MESSAGE;
164                   XmDIALOG_QUESTION; XmDIALOG_WARNING; XmDIALOG_WORKING; 
165                   XmDIALOG_TEMPLATE; XmDIALOG_COMMAND; };
166         ShadowType : integer
167                 { XmSHADOW_IN; XmSHADOW_OUT;
168                   XmSHADOW_ETCHED_IN; XmSHADOW_ETCHED_OUT; };
169         LabelType : integer
170                 { XmSTRING; XmPIXMAP; };
171         StringDirection : integer
172                 { XmSTRING_DIRECTION_L_TO_R;  XmSTRING_DIRECTION_R_TO_L; };
173         Alignment : integer
174                 { XmALIGNMENT_CENTER;  XmALIGNMENT_END;  XmALIGNMENT_BEGINNING; };
175         Attachment : integer
176                 { XmATTACH_NONE;  XmATTACH_FORM;  XmATTACH_OPPOSITE_FORM;
177                   XmATTACH_WIDGET;  XmATTACH_OPPOSITE_WIDGET;
178                   XmATTACH_POSITION; XmATTACH_SELF; };
179         SelectionPolicy : integer
180                 { XmSINGLE_SELECT; XmMULTIPLE_SELECT;
181                   XmEXTENDED_SELECT; XmBROWSE_SELECT; };
182         ScrollingPolicy : integer
183                 { XmAUTOMATIC; XmAPPLICATION_DEFINED; };
184         ScrollBarPlacement : integer
185                 { XmTOP_LEFT; XmBOTTOM_LEFT; XmTOP_RIGHT; XmBOTTOM_RIGHT; };
186         ScrollBarDisplayPolicy : integer
187                 { XmAS_NEEDED; XmSTATIC; };
188         ListSizePolicy : integer
189                 { XmCONSTANT; XmVARIABLE; XmRESIZE_IF_POSSIBLE; };
190         VisualPolicy : integer
191                 { XmVARIABLE; XmCONSTANT; };
192         DefaultButtonType : integer
193                 { XmDIALOG_CANCEL_BUTTON; XmDIALOG_DEFAULT_BUTTON;
194                   XmDIALOG_HELP_BUTTON; XmDIALOG_MESSAGE_LABEL;
195                   XmDIALOG_OK_BUTTON; XmDIALOG_SEPARATOR;
196                   XmDIALOG_SYMBOL_LABEL; };
197         RowColumnType : integer
198                 { XmWORK_AREA; XmMENU_BAR; XmMENU_PULLDOWN;
199                   XmMENU_POPUP; XmMENU_OPTION; };
200         Packing : integer
201                 { XmNO_PACKING; XmPACK_TIGHT; XmPACK_COLUMN; XmPACK_NONE; };
202         Orientation : integer
203                 { XmNO_ORIENTATION; XmVERTICAL; XmHORIZONTAL; };
204         ProcessingDirection : integer
205                 { XmMAX_ON_TOP; XmMAX_ON_BOTTOM; XmMAX_ON_LEFT; XmMAX_ON_RIGHT; };
206         SeparatorType : integer
207                 { XmSINGLE_LINE; XmDOUBLE_LINE;
208                   XmSINGLE_DASHED_LINE; XmDOUBLE_DASHED_LINE;
209                   XmNO_LINE; XmSHADOW_ETCHED_IN; XmSHADOW_ETCHED_OUT; 
210                   XmSHADOW_ETCHED_IN_DASH; XmSHADOW_ETCHED_OUT_DASH;};
211         EditMode : integer
212                 { XmSINGLE_LINE_EDIT; XmMULTI_LINE_EDIT; };
213         IndicatorType : integer
214                 { XmN_OF_MANY; XmONE_OF_MANY; 
215                   XmONE_OF_MANY_ROUND; XmONE_OF_MANY_DIAMOND; };
216         ToggleIndicatorOn : integer
217                 { XmINDICATOR_NONE; XmINDICATOR_FILL; XmINDICATOR_BOX;
218                   XmINDICATOR_CHECK; XmINDICATOR_CHECK_BOX; 
219                   XmINDICATOR_CROSS; XmINDICATOR_CROSS_BOX; 
220                   FALSE; TRUE;};
221         UnitType : integer
222                 { XmPIXELS; Xm100TH_MILLIMETERS; Xm1000TH_INCHES;
223                   Xm100TH_POINTS; Xm100TH_FONT_UNITS; XmINCHES;
224                   XmCENTIMETERS; XmMILLIMETERS; XmPOINTS; XmFONT_UNITS; };
225         NavigationType : integer
226                 { XmNONE; XmTAB_GROUP; XmSTICKY_TAB_GROUP;
227                   XmEXCLUSIVE_TAB_GROUP; };
228         MultiClick : integer
229                 { XmMULTICLICK_DISCARD; XmMULTICLICK_KEEP; };
230         CommandWindowLocation : integer
231                 { XmCOMMAND_ABOVE_WORKSPACE; XmCOMMAND_BELOW_WORKSPACE; };
232         FileTypeMask : integer
233                 { XmFILE_REGULAR; XmFILE_DIRECTORY; XmFILE_ANY_TYPE; };
234         InitialState : integer
235                 { NormalState; IconicState; };
236         DeleteResponse : integer
237                 { XmDESTROY; XmUNMAP; XmDO_NOTHING; };
238         KeyboardFocusPolicy : integer
239                 { XmEXPLICIT; XmPOINTER; };
240         AudibleWarning : integer
241                 { XmNONE; XmBELL; };
242         VerticalAlignment : integer
243                 {XmALIGNMENT_BASELINE_TOP; XmALIGNMENT_CENTER;
244                  XmALIGNMENT_BASELINE_BOTTOM; 
245                  XmALIGNMENT_CONTENTS_TOP; XmALIGNMENT_CONTENTS_BOTTOM; };
246         UnpostBehavior : integer
247                 { XmUNPOST_AND_REPLAY; XmUNPOST; };
248         TearOffModel : integer
249                 { XmTEAR_OFF_ENABLED; XmTEAR_OFF_DISABLED; };
250         PositionIndex : integer
251                 { XmLAST_POSITION; XmFIRST_POSITION; };
252         FrameChildType : integer
253                 { XmFRAME_GENERIC_CHILD; XmFRAME_WORKAREA_CHILD;
254                   XmFRAME_TITLE_CHILD; };
255         ChildVerticalAlignment : integer
256                 { XmALIGNMENT_BASELINE_TOP; XmALIGNMENT_CENTER;
257                   XmALIGNMENT_BASELINE_BOTTOM; XmALIGNMENT_WIDGET_BOTTOM; 
258                   XmALIGNMENT_WIDGET_TOP;};
259         ChildPlacement : integer
260                 { XmPLACE_TOP; XmPLACE_ABOVE_SELECTION; XmPLACE_BELOW_SELECTION; };
261         TextScanType : integer
262                 { XmSELECT_POSITION; XmSELECT_WHITESPACE; XmSELECT_WORD;
263                   XmSELECT_LINE; XmSELECT_ALL; XmSELECT_PARAGRAPH;};
264         MwmDecorations : integer
265                 { MWM_DECOR_ALL; MWM_DECOR_BORDER; MWM_DECOR_RESIZEH; MWM_DECOR_TITLE;
266                   MWM_DECOR_MENU; MWM_DECOR_MINIMIZE; MWM_DECOR_MAXIMIZE; };
267         MwmFunctions : integer
268                 { MWM_FUNC_ALL; MWM_FUNC_RESIZE; MWM_FUNC_MOVE; MWM_DECOR_MINIMIZE;
269                   MWM_DECOR_MAXIMIZE; MWM_FUNC_CLOSE; };
270         MwmInputMode : integer
271                 { MWM_INPUT_MODELESS; MWM_INPUT_PRIMARY_APPLICATION_MODAL; 
272                   MWM_INPUT_SYSTEM_MODAL; MWM_INPUT_FULL_APPLICATION_MODAL; };
273         ToggleMode : integer
274                 { XmTOGGLE_BOOLEAN; XmTOGGLE_INDETERMINATE; };
275         SliderVisual : integer
276                 { XmBACKGROUND_COLOR; XmFOREGROUND_COLOR;
277                   XmTROUGH_COLOR; XmSHADOWED_BACKGROUND; }; 
278         SliderMark : integer
279                 { XmNONE; XmETCHED_LINE; XmTHUMB_MARK; XmROUND_MARK; };
280         SlidingMode : integer
281                 { XmSLIDER; XmTHERMOMETER; };
282         PrimaryOwnership : integer
283                 { XmOWN_NEVER; XmOWN_ALWAYS; XmOWN_MULTIPLE;
284                   XmOWN_POSSIBLE_MULTIPLE; };
285         SelectionMode : integer
286                 { XmNORMAL_MODE; XmADD_MODE; };
287         MatchBehavior : integer
288                 { XmQUICK_NAVIGATE; XmINVALID_MATCH_BEHAVIOR; };
289         PositionMode : integer
290                 { XmZERO_BASED; XmONE_BASED; };
291         AutoDragModel : integer
292                 { XmAUTO_DRAG_ENABLED; XmAUTO_DRAG_DISABLED; };
293         ShowArrows : integer
294                 { XmEACH_SIDE; XmMAX_SIDE; XmMIN_SIDE; FALSE; TRUE; };
295         TextPath : integer
296                  { XmSTRING_DIRECTION_L_TO_R; XmSTRING_DIRECTION_R_TO_L;
297                    XmSTRING_DIRECTION_UNSET; XmSTRING_DIRECTION_DEFAULT;
298                    XmDEFAULT_DIRECTION; };
299         ComboBoxType : integer
300                 { XmCOMBO_BOX; XmDROP_DOWN_COMBO_BOX; XmDROP_DOWN_LIST; };
301         ContainerLineStyle : integer
302                 { XmSINGLE; };
303         EntryViewType : integer
304                 { XmLARGE_ICON; XmSMALL_ICON; XmANY_ICON; };
305         LayoutDirection : integer
306                 { XmRIGHT_TO_LEFT_TOP_TO_BOTTOM;
307                   XmLEFT_TO_RIGHT_TOP_TO_BOTTOM;
308                   XmRIGHT_TO_LEFT_BOTTOM_TO_TOP;
309                   XmLEFT_TO_RIGHT_BOTTOM_TO_TOP;
310                   XmTOP_TO_BOTTOM_RIGHT_TO_LEFT;
311                   XmTOP_TO_BOTTOM_LEFT_TO_RIGHT;
312                   XmBOTTOM_TO_TOP_RIGHT_TO_LEFT;
313                   XmBOTTOM_TO_TOP_LEFT_TO_RIGHT;
314                   XmTOP_TO_BOTTOM;
315                   XmBOTTOM_TO_TOP;
316                   XmRIGHT_TO_LEFT;
317                   XmLEFT_TO_RIGHT;
318                   XmDEFAULT_DIRECTION; };
319         LayoutType : integer
320                 { XmOUTLINE; XmSPATIAL; XmDETAIL; };
321         OutlineButtonPolicy : integer
322                 { XmOUTLINE_BUTTON_PRESENT; XmOUTLINE_BUTTON_ABSENT; };
323         SelectionTechnique : integer
324                 { XmMARQUEE; XmMARQUEE_EXTEND_START; XmMARQUEE_EXTEND_BOTH;
325                   XmTOUCH_ONLY; XmTOUCH_OVER; };
326         SpatialIncludeModel : integer
327                 { XmAPPEND; XmCLOSEST; XmFIRST_FIT; };
328         SpatialResizeModel : integer
329                 { XmGROW_MINOR; XmGROW_MAJOR; XmGROW_BALANCED; };
330         SpatialSnapModel : integer
331                 { XmNONE; XmSNAP_TO_GRID; XmCENTER; };
332         SpatialStyle : integer
333                 { XmNONE; XmGRID; XmCELLS; };
334         OutlineState : integer
335                 { XmCOLLAPSED; XmEXPANDED; };
336         IconGadgetViewType : integer
337                 { XmLARGE_ICON; XmSMALL_ICON; };
338         VisualEmphasis : integer
339                 { XmSELECTED; XmNOT_SELECTED; };
340         BindingType : integer
341                 { XmSOLID; XmSPIRAL; XmPIXMAP_OVERLAP_ONLY; };
342         ArrowSensitivity : integer
343                 { XmARROWS_INSENSITIVE; XmARROWS_INCREMENT_SENSITIVE;
344                   XmARROWS_DECREMENT_SENSITIVE; XmARROWS_SENSITIVE;
345                   XmARROWS_DEFAULT_SENSITIVITY; };
346         ArrowLayout : integer
347                 { XmARROWS_END; XmARROWS_BEGINNING; XmARROWS_SPLIT;
348                   XmARROWS_FLAT_END; XmARROWS_FLAT_BEGINNING; };
349         ArrowOrientation : integer
350                 { XmARROWS_VERTICAL; XmARROWS_HORIZONTAL; };
351         NotebookChildType : integer
352                 { XmPAGE; XmMAJOR_TAB; XmMINOR_TAB; XmSTATUS_AREA;
353                   XmPAGE_SCROLLER; };
354         ScrolledWindowChildType : integer
355                 { XmHOR_SCROLLBAR; XmVERT_SCROLLBAR; XmCOMMAND_WINDOW;
356                   XmMESSAGE_WINDOW; XmSCROLL_HOR; XmSCROLL_VERT; XmNO_SCROLL;
357                   XmCLIP_WINDOW; XmGENERIC_CHILD; };
358         PositionType : integer
359                 { XmPOSITION_INDEX; XmPOSITION_VALUE; };
360         SpinBoxChildType : integer
361                 { XmSTRING; XmNUMERIC; };
362         InputPolicy : integer
363                 { XmPER_SHELL; XmPER_WIDGET; XmINHERIT_POLICY; };
364         ToggleSetValue : integer
365                 { XmUNSET; XmSET; XmINDETERMINATE; FALSE; TRUE; };
366         ScaleShowValue : integer
367                 { XmNONE; XmNEAR_SLIDER; XmNEAR_BORDER; FALSE; TRUE; };
368         FontType : integer
369                 { XmAS_IS; XmFONT_IS_FONT; XmFONT_IS_FONTSET; };
370         LoadModel : integer
371                 { XmAS_IS; XmLOAD_IMMEDIATE; XmLOAD_DEFERRED; };
372         LineType : integer
373                 { XmAS_IS; XmSINGLE_LINE; XmDOUBLE_LINE;
374                   XmSINGLE_DASHED_LINE; XmDOUBLE_DASHED_LINE;
375                   XmNO_LINE; };
376         OffsetModel : integer
377                 { XmABSOLUTE; XmRELATIVE; };
378         CompoundStringComponent : integer
379                 { XmSTRING_COMPONENT_UNKNOWN;     XmSTRING_COMPONENT_CHARSET;
380                   XmSTRING_COMPONENT_TEXT;        XmSTRING_COMPONENT_DIRECTION;
381                   XmSTRING_COMPONENT_SEPARATOR;   XmSTRING_COMPONENT_LOCALE_TEXT;
382                   XmSTRING_COMPONENT_LOCALE;      XmSTRING_COMPONENT_WIDECHAR_TEXT;
383                   XmSTRING_COMPONENT_LAYOUT_PUSH; XmSTRING_COMPONENT_LAYOUT_POP;
384                   XmSTRING_COMPONENT_RENDITION_BEGIN; XmSTRING_COMPONENT_RENDITION_END;
385                   XmSTRING_COMPONENT_TAB; };
386         AutomaticSelection : integer
387                 { XmNO_AUTO_SELECT; XmAUTO_SELECT; FALSE; TRUE; };
388
389 \f
390 ! Define controls list of common aggregates of widgets
391
392 ControlList
393         AllWidgetsAndGadgets
394                 {
395                 DtEditor;
396                 DtHelpDialog;
397                 DtHelpQuickDialog;
398                 DtMenuButton;
399                 DtPrintSetupBox;
400                 DtPrintSetupDialog;
401                 DtTerm;
402
403                 XmArrowButton;
404                 XmArrowButtonGadget;
405                 XmBulletinBoard;
406                 XmBulletinBoardDialog;
407                 XmCascadeButton;
408                 XmCascadeButtonGadget;
409                 XmCheckBox;
410                 XmComboBox;
411                 XmCommand;
412                 XmCommandDialog;
413                 XmContainer;
414                 XmDialogShell;
415                 XmDrawingArea;
416                 XmDrawnButton;
417                 XmErrorDialog;
418                 XmFileSelectionBox;
419                 XmFileSelectionDialog;
420                 XmForm;
421                 XmFormDialog;
422                 XmFrame;
423                 XmIconGadget;
424                 XmInformationDialog;
425                 XmLabel;
426                 XmLabelGadget;
427                 XmList;
428                 XmMainWindow;
429                 XmMenuBar;
430                 XmMenuShell;
431                 XmMessageBox;
432                 XmMessageDialog;
433                 XmNotebook;
434                 XmOptionMenu;
435                 XmPanedWindow;
436                 XmPopupMenu;
437                 XmPromptDialog;
438                 XmPulldownMenu;
439                 XmPushButton;
440                 XmPushButtonGadget;
441                 XmQuestionDialog;
442                 XmRadioBox;
443                 XmRenderTable;
444                 XmRowColumn;
445                 XmScale;
446                 XmScrollBar;
447                 XmScrolledList;
448                 XmScrolledText;
449                 XmScrolledWindow;
450                 XmSelectionBox;
451                 XmSelectionDialog;
452                 XmSeparator;
453                 XmSeparatorGadget;
454                 XmSimpleSpinBox;
455                 XmSpinBox;
456                 XmTemplateDialog;
457                 XmText;
458                 XmTextField;
459                 XmToggleButton;
460                 XmToggleButtonGadget;
461                 XmWarningDialog;
462                 XmWorkArea;
463                 XmWorkingDialog;
464                 user_defined;
465                 };
466
467         AllWidgets
468                 {
469                 DtEditor;
470                 DtHelpDialog;
471                 DtHelpQuickDialog;
472                 DtMenuButton;
473                 DtPrintSetupBox;
474                 DtPrintSetupDialog;
475                 DtTerm;
476
477                 XmArrowButton;
478                 XmBulletinBoard;
479                 XmBulletinBoardDialog;
480                 XmCascadeButton;
481                 XmCheckBox;
482                 XmComboBox;
483                 XmCommand;
484                 XmCommandDialog;
485                 XmContainer;
486                 XmDialogShell;
487                 XmDrawingArea;
488                 XmDrawnButton;
489                 XmErrorDialog;
490                 XmFileSelectionBox;
491                 XmFileSelectionDialog;
492                 XmForm;
493                 XmFormDialog;
494                 XmFrame;
495                 XmIconGadget;
496                 XmInformationDialog;
497                 XmLabel;
498                 XmList;
499                 XmMainWindow;
500                 XmMenuBar;
501                 XmMenuShell;
502                 XmMessageBox;
503                 XmMessageDialog;
504                 XmNotebook;
505                 XmOptionMenu;
506                 XmPanedWindow;
507                 XmPopupMenu;
508                 XmPromptDialog;
509                 XmPulldownMenu;
510                 XmPushButton;
511                 XmQuestionDialog;
512                 XmRadioBox;
513                 XmRowColumn;
514                 XmScale;
515                 XmScrollBar;
516                 XmScrolledList;
517                 XmScrolledText;
518                 XmScrolledWindow;
519                 XmSelectionBox;
520                 XmSelectionDialog;
521                 XmSeparator;
522                 XmSimpleSpinBox;
523                 XmSpinBox;
524                 XmTemplateDialog;
525                 XmText;
526                 XmTextField;
527                 XmToggleButton;
528                 XmWarningDialog;
529                 XmWorkArea;
530                 XmWorkingDialog;
531                 user_defined;
532                 };
533
534         MenuWidgetsAndGadgets
535                 {
536                 DtMenuButton;
537
538                 XmCascadeButton;
539                 XmCascadeButtonGadget;
540                 XmDrawnButton;
541                 XmLabel;
542                 XmLabelGadget;
543                 XmPushButton;
544                 XmPushButtonGadget;
545                 XmSeparator;
546                 XmSeparatorGadget;
547                 XmToggleButton;
548                 XmToggleButtonGadget;
549                 user_defined;
550                 };
551                 
552         ManagerWidgets
553                 {
554                 DtEditor;
555                 DtHelpDialog;
556                 DtHelpQuickDialog;
557                 DtPrintSetupBox;
558                 DtPrintSetupDialog;
559
560                 XmBulletinBoard;
561                 XmCheckBox;
562                 XmComboBox;
563                 XmContainer;
564                 XmDrawingArea;
565                 XmFrame;
566                 XmNotebook;
567                 XmPanedWindow;
568                 XmScale;
569                 XmScrolledWindow;
570                 XmSimpleSpinBox;
571                 XmSpinBox;
572                 XmRowColumn;
573                 XmWorkArea;
574                 XmRadioBox;
575                 XmForm;
576                 XmMessageBox;
577                 XmSelectionBox;
578                 XmFileSelectionBox;
579                 };
580                 
581 \f
582
583 ! The root metaclasses and their resources. RectObj/Windowobj constitutes
584 ! the Core class as documented in the toolkit manual.
585
586
587 Class
588         Object : MetaClass
589                 {
590                 Resources
591                         {
592                         ! new resources
593                         MrmNcreateCallback;
594                         XmNdestroyCallback;
595                         ! inherited resources
596                         };
597                 };
598 Resource
599         MrmNcreateCallback : Reason
600                 { InternalLiteral = MrmNcreateCallback; };
601                 ! This InternalLiteral is provided so the name can be changed if
602                 ! desired. The InternalLiteral must NOT be changed.
603         XmNdestroyCallback : Reason
604                 { ResourceLiteral = XmNdestroyCallback; };
605                 ! This ResourceLiteral setting is included as an example
606                 ! only. ResourceLiterals are not provided for the rest of
607                 ! the Motif toolkit because the UIL names are identical
608                 ! to the toolkit literals (the name supplies the default
609                 ! literal for each UIL resource).
610
611 Class
612         RectObj : MetaClass
613                 {
614                 SuperClass = Object;
615                 Resources
616                         {
617                         ! new resources
618                         XmNancestorSensitive;
619                         XmNborderWidth;
620                         XmNheight;
621                         XmNsensitive;
622                         XmNwidth;
623                         XmNx;
624                         XmNy;
625                         ! inherited resources
626                         };
627                 };
628 Resource
629         XmNancestorSensitive : Argument
630                 { Type = boolean;
631                   Default = "True"; };
632         XmNborderWidth : Argument
633                 { Type = horizontal_float;
634                   Default = "1"; };
635         XmNheight : Argument
636                 { Type = vertical_float;
637                   Default = "0"; };
638         XmNsensitive : Argument
639                 { Type = boolean;
640                   Default = "True"; };
641         XmNwidth : Argument
642                 { Type = horizontal_float;
643                   Default = "0"; };
644         XmNx : Argument
645                 { Type = horizontal_float;
646                   Default = "0"; };
647         XmNy : Argument
648                 { Type = vertical_float;
649                   Default = "0"; };
650
651
652 Class
653         WindowObj : MetaClass
654         {
655                 SuperClass = RectObj;
656                 Resources
657                         {
658                         ! new resources
659                         XmNaccelerators;
660                         XmNbackground;
661                         XmNbackgroundPixmap;
662                         XmNborderColor;
663                         XmNborderPixmap;
664                         XmNcolormap;
665                         XmNdepth;
666                         XmNmappedWhenManaged;
667                         XmNscreen;
668                         XmNtranslations;
669                         XmNinitialResourcesPersistent;
670                         ! inherited resources
671                         };
672                 };
673 Resource
674         XmNaccelerators : Argument
675                 { Type = translation_table;
676                   Default = "Null";};
677         XmNbackground : Argument
678                 { Type = color;
679                   Default = "White"; };
680         XmNbackgroundPixmap : Argument
681                 { Type = pixmap;
682                   Default = "XmUNSPECIFIED_PIXMAP"; };
683         XmNborderColor : Argument
684                 { Type = color ;
685                   Default = "Black"; };
686         XmNborderPixmap : Argument
687                 { Type = pixmap;
688                   Default = "XmUNSPECIFIED_PIXMAP"; };
689         XmNcolormap : Argument
690                 { Type = identifier;
691                   Default = "XtCopyFromParent"; };
692         XmNdepth : Argument
693                 { Type = identifier;
694                   Default = "XtCopyFromParent"; };
695         XmNmappedWhenManaged : Argument
696                 { Type = boolean;
697                   Default = "True"; };
698         XmNscreen : Argument
699                 { Type = identifier ;
700                   Default = "XtCopyScreen"; };
701         XmNtranslations : Argument
702                 { Type = translation_table;
703                   Default = "Null"; };
704         XmNinitialResourcesPersistent : Argument
705                 { Type = boolean;
706                   Default = "True"; };
707
708
709 \f
710 ! Immediate subclasses of WindowObj
711
712 Class
713         XmPrimitive : MetaClass
714                 {
715                 SuperClass = WindowObj;
716                 Resources
717                         {
718                         ! new resources
719                         XmNbottomShadowColor;
720                         XmNbottomShadowPixmap;
721                         XmNconvertCallback;
722                         XmNforeground;
723                         XmNhelpCallback;
724                         XmNhighlightColor;
725                         XmNhighlightOnEnter;
726                         XmNhighlightPixmap;
727                         XmNhighlightThickness;
728                         XmNnavigationType;
729                         XmNpopupHandlerCallback;
730                         XmNshadowThickness;
731                         XmNtopShadowColor;
732                         XmNtopShadowPixmap;
733                         XmNtraversalOn;
734                         XmNunitType;
735                         XmNuserData;
736                         ! inherited resources
737                         };
738                 };
739 Resource
740         XmNbottomShadowColor : Argument
741                 { Type = color;
742                   Default = "dynamic"; };
743         XmNbottomShadowPixmap : Argument
744                 { Type = pixmap;
745                   Default = "XmUNSPECIFIED_PIXMAP"; };
746         XmNforeground : Argument
747                 { Type = color;
748                   Default = "dynamic"; };
749         XmNhelpCallback : Reason
750                 { };
751         XmNhighlightColor : Argument
752                 { Type = color;
753                   Default = "Black"; };
754         XmNhighlightOnEnter : Argument
755                 { Type = boolean;
756                   Default = "False"; };
757         XmNhighlightPixmap : Argument
758                 { Type = pixmap;
759                   Default = "dynamic"; };
760         XmNhighlightThickness : Argument
761                 { Type = horizontal_float;
762                   Default = "0"; };
763         XmNnavigationType : Argument
764                 { Type = integer;
765                   EnumerationSet = NavigationType;
766                   Default = "XmNONE"; };
767         XmNshadowThickness : Argument
768                 { Type = horizontal_float;
769                   Default = "2"; };
770         XmNtopShadowColor : Argument
771                 { Type = color;
772                   Default = "dynamic"; };
773         XmNtopShadowPixmap : Argument
774                 { Type = pixmap;
775                   Default = "XmUNSPECIFIED_PIXMAP"; };
776         XmNtraversalOn : Argument
777                 { Type = boolean;
778                   Default = "True"; };
779         XmNunitType : Argument
780                 { Type = integer;
781                   EnumerationSet = UnitType;
782                   Default = "XmPIXELS"; };
783         XmNuserData : Argument
784                 { Type = any;
785                   Default = "Null"; };
786
787
788 Class
789         Composite : MetaClass
790                 {
791                 SuperClass = WindowObj;
792                 Resources
793                         {
794                         ! new resources
795                         XmNinsertPosition;
796                         ! inherited resources
797                         };
798                 };
799 Resource
800         XmNinsertPosition : Constraint
801                 { Type = identifier ;
802                   Default = "Null"; };
803
804
805 \f
806 ! Immediate subclasses of RectObj
807
808 Class
809         XmGadget : MetaClass
810                 {
811                 SuperClass = RectObj;
812                 Resources
813                         {
814                         ! new resources
815                         XmNbackground;
816                         XmNhelpCallback;
817                         XmNhighlightOnEnter;
818                         XmNhighlightThickness;
819                         XmNnavigationType;      
820                         XmNshadowThickness;
821                         XmNtraversalOn;
822                         XmNunitType;
823                         XmNuserData;
824                         ! inherited resources
825                         };
826                 };
827
828
829 \f
830 ! Immediate sublclasses of XmGadget
831
832 Class
833         XmArrowButtonGadget : Gadget
834                 {
835                 SuperClass = XmGadget;
836                 ConvenienceFunction = XmCreateArrowButtonGadget;
837                 WidgetClass = XmArrowButton;
838                 Resources
839                         {
840                         ! new resources
841                         XmNactivateCallback;
842                         XmNarmCallback;
843                         XmNarrowDirection;
844                         XmNbackground;
845                         XmNdisarmCallback;
846                         XmNmultiClick;
847
848                         ! inherited resources
849                         };
850                 };
851 Resource
852         XmNactivateCallback : Reason
853                 { };
854         XmNarmCallback : Reason
855                 { };
856         XmNarrowDirection : Argument
857                 { Type = integer;
858                   EnumerationSet = ArrowDirection;
859                   Default = "XmDYNAMIC"; };
860         XmNdisarmCallback : Reason
861                 { };
862
863 Class
864         XmSeparatorGadget : Gadget
865                 {
866                 SuperClass = XmGadget;
867                 ConvenienceFunction = XmCreateSeparatorGadget;
868                 WidgetClass = XmSeparator;
869                 Resources
870                         {
871                         ! new resources
872                         XmNbackground;
873                         XmNmargin;
874                         XmNorientation;
875                         XmNseparatorType;
876                         ! inherited resources
877                         XmNtraversalOn { Default = "False"; };
878                         };
879                 };
880 Resource
881         XmNmargin : Argument
882                 { Type = horizontal_float;
883                   Default = "0"; };
884         XmNorientation : Argument
885                 { Type = integer;
886                   EnumerationSet = Orientation;
887                   Default = "XmHORIZONTAL"; };
888         XmNseparatorType : Argument
889                 { Type = integer;
890                   EnumerationSet = SeparatorType;
891                   Default = "XmSHADOW_ETCHED_IN"; };
892
893 Class
894         XmIconGadget : Gadget
895                 {
896                 SuperClass = XmGadget;
897                 ConvenienceFunction = XmCreateIconGadget;
898                 WidgetClass = XmIconGadget;
899                 Resources
900                         {
901                         ! new resources
902                         XmNalignment;
903                         XmNbackground;
904                         XmNdetail;
905                         XmNdetailCount;
906                         XmNfontList;
907                         XmNlabelString;
908                         XmNlargeIconMask;
909                         XmNlargeIconPixmap;
910                         XmNmarginHeight;
911                         XmNmarginWidth;
912                         XmNrecomputeSize;
913                         XmNrenderTable;
914                         XmNsmallIconMask;
915                         XmNsmallIconPixmap;
916                         XmNspacing;
917                         XmNviewType;
918                         XmNvisualEmphasis;
919
920                         ! undocumented resources
921                         ! XmNdotCache;
922                         };
923                 Controls {
924                             XmRenderTable;
925                             };
926         };
927
928 Resource
929         XmNdetail : Argument
930                 { Type = string_table;
931                   Default = "NULL"; 
932                   Related = XmNdetailCount; };
933         XmNdetailCount : Argument
934                 { Type = integer;
935                   Default = "0"; };
936         XmNlargeIconMask : Argument
937                 { Type = pixmap;
938                   Default = "XmUNSPECIFIED_PIXMAP"; };
939         XmNlargeIconPixmap : Argument
940                 { Type = pixmap;
941                   Default = "XmUNSPECIFIED_PIXMAP"; };
942         XmNsmallIconMask : Argument
943                 { Type = pixmap;
944                   Default = "XmUNSPECIFIED_PIXMAP"; };
945         XmNsmallIconPixmap : Argument
946                 { Type = pixmap;
947                   Default = "XmUNSPECIFIED_PIXMAP"; };
948         XmNviewType : Argument
949                 { Type = integer;
950                   EnumerationSet = IconGadgetViewType; };
951         XmNvisualEmphasis : Argument
952                 { Type = integer;
953                   EnumerationSet = VisualEmphasis; };
954
955 Class
956         XmLabelGadget : Gadget
957                 {
958                 SuperClass = XmGadget;
959                 ConvenienceFunction = XmCreateLabelGadget;
960                 WidgetClass = XmLabel;
961                 Resources
962                         {
963                         ! new resources
964                         XmNaccelerator;
965                         XmNacceleratorText;
966                         XmNalignment;
967                         XmNbackground;
968                         XmNfontList;
969                         XmNrenderTable;
970                         XmNlabelInsensitivePixmap;
971                         XmNlabelPixmap;
972                         XmNlabelString;
973                         XmNlabelType;
974                         XmNmarginBottom;
975                         XmNmarginHeight;
976                         XmNmarginLeft;
977                         XmNmarginRight;
978                         XmNmarginTop;
979                         XmNmarginWidth;
980                         XmNmnemonic;
981                         XmNmnemonicCharSet;
982                         XmNrecomputeSize;
983                         XmNstringDirection;
984                         ! inherited resources
985                         XmNshadowThickness {Default = "0"; };
986                         XmNtraversalOn { Default = "False"; };
987                         };
988                 Controls {
989                             XmRenderTable;
990                                 };
991                 };
992 Resource
993         XmNaccelerator : Argument
994                 { Type = string;
995                   Default = "Null"; };
996         XmNacceleratorText : Argument
997                 { Type = compound_string;
998                   Default = "Null"; };
999         XmNalignment : Argument
1000                 { Type = integer;
1001                   EnumerationSet = Alignment;
1002                   Default = "XmALIGNMENT_CENTER"; };
1003         XmNfontList : Argument
1004                 { Type = font_table;
1005                   Default = "Fixed"; };
1006         XmNrenderTable : Argument
1007                 { Type = widget_ref;
1008                   Default = "Fixed"; };
1009         XmNlabelInsensitivePixmap : Argument
1010                 { Type = pixmap;
1011                   Default = "XmUNSPECIFIED_PIXMAP"; };
1012         XmNlabelPixmap : Argument
1013                 { Type = pixmap;
1014                   Default = "XmUNSPECIFIED_PIXMAP"; };
1015         XmNlabelString : Argument
1016                 { Type = compound_string;
1017                   Default = "Null"; };
1018         XmNlabelType : Argument
1019                 { Type = integer;
1020                   EnumerationSet = LabelType;
1021                   Default = "XmSTRING"; };
1022         XmNmarginBottom : Argument
1023                 { Type = vertical_float;
1024                   Default = "0"; };
1025         XmNmarginHeight : Argument
1026                 { Type = vertical_float;
1027                   Default = "2"; };
1028         XmNmarginLeft : Argument
1029                 { Type = horizontal_float;
1030                   Default = "0"; };
1031         XmNmarginRight : Argument
1032                 { Type = horizontal_float;
1033                   Default = "0"; };
1034         XmNmarginTop : Argument
1035                 { Type = vertical_float;
1036                   Default = "0"; };
1037         XmNmarginWidth : Argument
1038                 { Type = horizontal_float;
1039                   Default = "2"; };
1040         XmNmnemonic : Argument
1041                 { Type = keysym;
1042                   Default = "NULL"; };
1043         XmNmnemonicCharSet : Argument
1044                 { Type = string;
1045                   Default = "dynamic"; };
1046         XmNrecomputeSize : Argument
1047                 { Type = boolean;
1048                   Default = "True"; };
1049         XmNstringDirection : Argument
1050                 { Type = integer;
1051                   EnumerationSet = StringDirection;
1052                   Default = "XmSTRING_DIRECTION_L_TO_R"; };
1053
1054 Class
1055         XmTextField : Widget
1056                 {
1057                 SuperClass = XmPrimitive;
1058                 ConvenienceFunction = XmCreateTextField;
1059                 Resources
1060                         {
1061                         ! new resources
1062                         XmNactivateCallback;
1063                         XmNcursorPosition;
1064                         XmNdestinationCallback;
1065                         XmNeditable;
1066                         XmNfocusCallback;
1067                         XmNgainPrimaryCallback;
1068                         XmNlosePrimaryCallback;
1069                         XmNlosingFocusCallback;
1070                         XmNmarginHeight { Default = "3"; };
1071                         XmNmarginWidth { Default = "3"; };
1072                         XmNmaxLength;
1073                         XmNmodifyVerifyCallback;
1074                         XmNmodifyVerifyCallbackWcs;
1075                         XmNmotionVerifyCallback;
1076                         XmNvalue;
1077                         XmNvalueWcs;
1078                         XmNvalueChangedCallback;
1079                         XmNverifyBell;
1080                         ! Input resource set
1081                         XmNpendingDelete;
1082                         XmNselectionArray;
1083                         XmNselectionArrayCount;
1084                         XmNselectThreshold;
1085                         ! Output resource set
1086                         XmNblinkRate;
1087                         XmNcolumns;
1088                         XmNfontList;
1089                         XmNrenderTable;
1090                         XmNcursorPositionVisible;
1091                         XmNresizeHeight;
1092                         XmNresizeWidth;
1093                         XmNrows;
1094                         XmNwordWrap;
1095                         !inherited resources
1096                         XmNnavigationType { Default = "XmTAB_GROUP"; };
1097                         };
1098                 Controls {
1099                         XmPopupMenu;
1100                         XmRenderTable;
1101                         };
1102                 };
1103
1104 Resource
1105         XmNdestinationCallback : Reason
1106                 { };
1107
1108 \f
1109 ! Immediate subclasses of XmLabelGadget
1110
1111 Class
1112         XmCascadeButtonGadget : Gadget
1113                 {
1114                 SuperClass = XmLabelGadget;
1115                 ConvenienceFunction = XmCreateCascadeButtonGadget;
1116                 WidgetClass = XmCascadeButton;
1117                 ControlsMapToResource = XmNsubMenuId;
1118                 Resources
1119                         {
1120                         ! new resources
1121                         XmNactivateCallback;
1122                         XmNcascadePixmap;
1123                         XmNcascadingCallback;
1124                         XmNmappingDelay;
1125                         XmNsubMenuId;
1126                         ! inherited resources
1127                         XmNaccelerator { Exclude = True;};
1128                         XmNacceleratorText { Exclude = True;};
1129                         XmNtraversalOn { Default = "True"; };
1130                         };
1131                 Controls
1132                         {
1133                         XmPulldownMenu;
1134                         };
1135                 };
1136 Resource
1137         XmNcascadingCallback : Reason
1138                 { };
1139         XmNcascadePixmap : Argument
1140                 { Type = pixmap;
1141                   Default = "menu-cascade"; };
1142         XmNmappingDelay : Argument
1143                 { Type = integer;
1144                   Default = "100"; };
1145         XmNsubMenuId : Argument
1146                 { Type = widget_ref;
1147                   Default = "Null"; };
1148         
1149 Class
1150         XmPushButtonGadget : Gadget
1151                 {
1152                 SuperClass = XmLabelGadget;
1153                 ConvenienceFunction = XmCreatePushButtonGadget;
1154                 WidgetClass = XmPushButton;
1155                 Resources
1156                         {
1157                         ! new resources
1158                         XmNactivateCallback;
1159                         XmNarmCallback;
1160                         XmNarmColor;
1161                         XmNarmPixmap;
1162                         XmNdefaultButtonShadowThickness;
1163                         XmNdisarmCallback;
1164                         XmNfillOnArm;
1165                         XmNmultiClick;
1166                         XmNshowAsDefault ;
1167                         ! inherited resources
1168                         };
1169                 };
1170 Resource
1171         XmNarmColor : Argument
1172                 { Type = color;
1173                   Default = "dynamic"; };
1174         XmNarmPixmap : Argument
1175                 { Type = pixmap;
1176                   Default = "XmUNSPECIFIED_PIXMAP"; };
1177         XmNdefaultButtonShadowThickness: Argument
1178                 { Type = horizontal_float;
1179                   Default = "0"; };
1180         XmNfillOnArm : Argument
1181                 { Type = boolean;
1182                   Default = "True"; };
1183         XmNmultiClick : Argument
1184                 { Type = integer;
1185                   EnumerationSet = MultiClick;
1186                   Default = "XmMULTICLICK_DISCARD"; };
1187         XmNshowAsDefault : Argument
1188                 { Type = integer;
1189                   Default = "0"; };
1190
1191 Class
1192         XmToggleButtonGadget : Gadget
1193                 {
1194                 SuperClass = XmLabelGadget;
1195                 ConvenienceFunction = XmCreateToggleButtonGadget;
1196                 WidgetClass = XmToggleButton;
1197                 Resources
1198                         {
1199                         ! new resources
1200                         XmNarmCallback;
1201                         XmNdetailShadowThickness;
1202                         XmNdisarmCallback;
1203                         XmNfillOnSelect;
1204                         XmNhighlightThickness { Default = "dynamic"; };
1205                         XmNindeterminatePixmap;
1206                         XmNindeterminateInsensitivePixmap;
1207                         XmNindicatorOn;
1208                         XmNindicatorSize;
1209                         XmNindicatorType;
1210                         XmNselectColor;
1211                         XmNselectInsensitivePixmap;
1212                         XmNselectPixmap;
1213                         XmNset;
1214                         XmNspacing;
1215                         XmNtoggleMode;
1216                         XmNunselectColor;
1217                         XmNvalueChangedCallback;
1218                         XmNvisibleWhenOff;
1219                         ! inherited resources
1220                         XmNtraversalOn { Default = "True"; };
1221                         };
1222                 };
1223 Resource
1224         XmNdetailShadowThickness : Argument
1225                 { Type = horizontal_float;
1226                   Default = "dynamic"; };
1227         XmNfillOnSelect : Argument
1228                 { Type = boolean;
1229                   Default = "True"; };
1230         XmNindeterminatePixmap : Argument
1231                 { Type = pixmap;
1232                   Default = "XmUNSPECIFIED_PIXMAP"; };
1233         XmNindeterminateInsensitivePixmap : Argument
1234                 { Type = pixmap;
1235                   Default = "XmUNSPECIFIED_PIXMAP"; };
1236         XmNindicatorOn : Argument
1237                 { Type = integer;
1238                   EnumerationSet = ToggleIndicatorOn;
1239                   Default = "XmINDICATOR_FILL"; };
1240         XmNindicatorType : Argument
1241                 { Type = integer;
1242                   EnumerationSet = IndicatorType;
1243                   Default = "XmN_OF_MANY"; };
1244         XmNindicatorSize : Argument
1245                 { Type = horizontal_float;
1246                   Default = "XmINVALID_DIMENSION"; };
1247         XmNselectColor : Argument
1248                 { Type = color;
1249                   Default = "dynamic"; };
1250         XmNselectInsensitivePixmap : Argument
1251                 { Type = pixmap;
1252                   Default = "XmUNSPECIFIED_PIXMAP"; };
1253         XmNselectPixmap : Argument
1254                 { Type = pixmap;
1255                   Default = "XmUNSPECIFIED_PIXMAP"; };
1256         XmNset : Argument
1257                 { Type = integer;
1258                   EnumerationSet = ToggleSetValue;
1259                   Default = "False"; };
1260         XmNspacing : Argument
1261                 { Type = horizontal_float;
1262                   Default = "4"; };
1263         XmNtoggleMode : Argument
1264                 { Type = integer;
1265                   EnumerationSet = ToggleMode;  };
1266         XmNunselectColor : Argument
1267                 { Type = color;
1268                   Default = "dynamic"; };
1269         XmNvalueChangedCallback : Reason
1270                 { };
1271         XmNvisibleWhenOff : Argument
1272                 { Type = boolean;
1273                   Default = "True"; };
1274
1275
1276 \f
1277 ! Immediate subclasses of XmPrimitive
1278
1279 Class
1280         XmArrowButton : Widget
1281                 {
1282                 SuperClass = XmPrimitive;
1283                 ConvenienceFunction = XmCreateArrowButton;
1284                 Resources
1285                         {
1286                         ! new resources
1287                         XmNactivateCallback;
1288                         XmNarmCallback;
1289                         XmNarrowDirection;
1290                         XmNdisarmCallback;
1291                         XmNmultiClick;
1292                         ! inherited resources
1293                         };
1294                 Controls {
1295                         XmPopupMenu;
1296                         };
1297                 };
1298
1299 Class
1300         XmScrollBar : Widget
1301                 {
1302                 SuperClass = XmPrimitive;
1303                 ConvenienceFunction = XmCreateScrollBar;
1304                 Resources
1305                         {
1306                         ! new resources
1307                         XmNdecrementCallback;
1308                         XmNdragCallback;
1309                         XmNeditable;
1310                         XmNincrement;
1311                         XmNincrementCallback;
1312                         XmNinitialDelay;
1313                         XmNmaximum;
1314                         XmNminimum;
1315                         XmNorientation { Default = "XmVERTICAL"; };
1316                         XmNpageDecrementCallback;
1317                         XmNpageIncrement;
1318                         XmNpageIncrementCallback;
1319                         XmNprocessingDirection;
1320                         XmNrepeatDelay;
1321                         XmNshowArrows;
1322                         XmNsliderVisual;
1323                         XmNsliderMark;
1324                         XmNsliderSize;
1325                         XmNslidingMode;
1326                         XmNsnapBackMultiple;
1327                         XmNtoBottomCallback;
1328                         XmNtoTopCallback;
1329                         XmNtroughColor;
1330                         XmNvalue;
1331                         XmNvalueChangedCallback;
1332                         ! inherited resources
1333                         XmNnavigationType { Default = "XmSTICKY_TAB_GROUP"; };
1334                         XmNtraversalOn { Default = "dynamic"; };
1335                         };
1336                 Controls {
1337                         XmPopupMenu;
1338                         };
1339                 };
1340 Resource
1341         XmNdecrementCallback : Reason
1342                 { };
1343         XmNdragCallback : Reason
1344                 { };
1345         XmNincrement : Argument
1346                 { Type = integer;
1347                   Default = "1"; };
1348         XmNincrementCallback : Reason
1349                 { };
1350         XmNinitialDelay : Argument
1351                 { Type = integer;
1352                   Default = "250"; };
1353         XmNmaximum : Argument
1354                 { Type = integer;
1355                   Default = "0"; };
1356         XmNminimum : Argument
1357                 { Type = integer;
1358                   Default = "0"; };
1359         XmNpageDecrementCallback : Reason
1360                 { };
1361         XmNpageIncrement : Argument
1362                 { Type = integer;
1363                   Default = "10"; };
1364         XmNpageIncrementCallback : Reason
1365                 { };
1366         XmNprocessingDirection : Argument
1367                 { Type = integer;
1368                   EnumerationSet = ProcessingDirection;
1369                   Default = "XmMAX_ON_BOTTOM"; };
1370         XmNrepeatDelay : Argument
1371                 { Type = integer;
1372                   Default = "50"; };
1373         XmNshowArrows : Argument
1374                 { Type = integer;
1375                   EnumerationSet = ShowArrows;
1376                   Default = "XmEACH_SIDE"; };
1377         XmNsliderSize : Argument
1378                 { Type = integer;
1379                   Default = "10"; };
1380         XmNsliderVisual : Argument
1381                 { Type = integer;
1382                   EnumerationSet = SliderVisual;
1383                   Default = "dynamic"; };
1384         XmNsliderMark : Argument
1385                 { Type = integer;
1386                   EnumerationSet = SliderMark;
1387                   Default = "dynamic"; };
1388         XmNslidingMode : Argument
1389                 { Type = integer;
1390                   EnumerationSet = SlidingMode;
1391                   Default = "XmSLIDER"; };
1392         XmNsnapBackMultiple : Argument
1393                 { Type = integer; };
1394         XmNtoBottomCallback : Reason
1395                 { };
1396         XmNtoTopCallback : Reason
1397                 { };
1398         XmNtroughColor : Argument
1399                 { Type = color;
1400                   Default = "dynamic"; };
1401         XmNvalue : Argument
1402                 { Type = any;
1403                   Default = "Null"; };
1404
1405 Class
1406         XmSeparator : Widget
1407                 {
1408                 SuperClass = XmPrimitive;
1409                 ConvenienceFunction = XmCreateSeparator;
1410                 Resources
1411                         {
1412                         ! new resources
1413                         XmNmargin;
1414                         XmNorientation;
1415                         XmNseparatorType;
1416                         ! inherited resources
1417                         XmNtraversalOn { Default = "False"; };
1418                         };
1419                 Controls {
1420                         XmPopupMenu;
1421                         };
1422                 };
1423
1424 Class
1425         XmLabel : Widget
1426                 {
1427                 SuperClass = XmPrimitive;
1428                 ConvenienceFunction = XmCreateLabel;
1429                 Resources
1430                         {
1431                         ! new resources
1432                         XmNaccelerator;
1433                         XmNacceleratorText;
1434                         XmNalignment;
1435                         XmNfontList;
1436                         XmNrenderTable;
1437                         XmNlabelInsensitivePixmap;
1438                         XmNlabelPixmap;
1439                         XmNlabelString;
1440                         XmNlabelType;
1441                         XmNmarginBottom;
1442                         XmNmarginHeight;
1443                         XmNmarginLeft;
1444                         XmNmarginRight;
1445                         XmNmarginTop;
1446                         XmNmarginWidth;
1447                         XmNmnemonic;
1448                         XmNmnemonicCharSet;
1449                         XmNrecomputeSize;
1450                         XmNstringDirection;
1451                         ! inherited resources
1452                         XmNshadowThickness { Default = "0"; };
1453                         XmNtraversalOn { Default = "False"; };
1454                         };
1455                 Controls {
1456                         XmPopupMenu;
1457                         XmRenderTable;
1458                         };
1459                 };
1460
1461 \f
1462 ! Immediate subclass of XmPrimitive. The ScrolledList variant is treated
1463 ! as a subclass
1464
1465 Class
1466         XmList : Widget
1467                 {
1468                 SuperClass = XmPrimitive;
1469                 ConvenienceFunction = XmCreateList;
1470                 Resources
1471                         {
1472                         ! new resources
1473                         XmNautomaticSelection;
1474                         XmNbrowseSelectionCallback;
1475                         XmNdefaultActionCallback;
1476                         XmNdestinationCallback;
1477                         XmNdoubleClickInterval;
1478                         XmNextendedSelectionCallback;
1479                         XmNfontList;
1480                         XmNrenderTable;
1481                         XmNitemCount;
1482                         XmNitems;
1483                         XmNlistMarginHeight;
1484                         XmNlistMarginWidth;
1485                         XmNlistSizePolicy;
1486                         XmNlistSpacing;
1487                         XmNmatchBehavior;
1488                         XmNmultipleSelectionCallback;
1489                         XmNprimaryOwnership;
1490                         XmNselectedItemCount;
1491                         XmNselectedItems;
1492                         XmNselectedPositions;
1493                         XmNselectedPositionCount;
1494                         XmNselectionMode;
1495                         XmNselectionPolicy;
1496                         XmNsingleSelectionCallback;
1497                         XmNstringDirection;
1498                         XmNtopItemPosition;
1499                         XmNvisibleItemCount;
1500                         ! inherited resources
1501                         XmNnavigationType { Default = "XmTAB_GROUP"; };
1502                         };
1503                 Controls {
1504                         XmPopupMenu;
1505                         XmRenderTable;
1506                         };
1507                 };
1508 Resource
1509         XmNautomaticSelection : Argument
1510                 { Type = integer;
1511                   EnumerationSet = AutomaticSelection;
1512                   Default = "FALSE"; };
1513         XmNbrowseSelectionCallback : Reason
1514                 { };
1515         XmNdefaultActionCallback : Reason
1516                 { };
1517         XmNdoubleClickInterval : Argument
1518                 { Type = integer;
1519                   Default = "250"; };
1520         XmNextendedSelectionCallback : Reason
1521                 { };
1522         XmNitemCount : Argument
1523                 { Type = integer;
1524                   Default = "0"; };
1525         XmNitems : Argument
1526                 { Type = string_table;
1527                   Default = "Null"; 
1528                   Related = XmNitemCount; };
1529         XmNlistMarginHeight : Argument
1530                 { Type = vertical_float;
1531                   Default = "0"; };
1532         XmNlistMarginWidth : Argument
1533                 { Type = horizontal_float;
1534                   Default = "0"; };
1535         XmNlistSpacing : Argument
1536                 { Type = horizontal_float;
1537                   Default = "0"; };
1538         XmNmatchBehavior : Argument
1539                 { Type = integer;
1540                   EnumerationSet = MatchBehavior;
1541                   Default = "XmQUICK_NAVIGATE"; };
1542         XmNmultipleSelectionCallback : Reason
1543                 { };
1544         XmNprimaryOwnership : Argument
1545                 { Type = integer;
1546                   EnumerationSet = PrimaryOwnership;
1547                   Default = "XmOWN_NEVER"; };
1548         XmNselectedItemCount : Argument
1549                 { Type = integer;
1550                   Default = "0"; };
1551         XmNselectedItems : Argument
1552                 { Type = string_table;
1553                   Default = "Null"; 
1554                   Related = XmNselectedItemCount; };
1555         XmNselectionMode : Argument
1556                 { Type = integer;
1557                   EnumerationSet = SelectionMode;
1558                   Default = "XmNORMAL_MODE"; };
1559         XmNselectionPolicy : Argument
1560                 { Type = integer;
1561                   EnumerationSet = SelectionPolicy;
1562                   Default = "XmBROWSE_SELECT"; };
1563         XmNselectedPositions : Argument
1564                 { Type = integer_table; 
1565                   Default = "Null"; 
1566                   Related = XmNselectedPositionCount; };
1567         XmNselectedPositionCount : Argument
1568                 { Type = integer;
1569                   Default = "0"; };
1570         XmNsingleSelectionCallback : Reason
1571                 { };
1572         XmNtopItemPosition : Argument
1573                 { Type = integer;
1574                   Default = "0"; };
1575         XmNvisibleItemCount : Argument
1576                 { Type = integer;
1577                   Default = "1"; };
1578
1579 Class
1580         XmScrolledList : Widget
1581                 {
1582                 SuperClass = XmList;
1583                 ParentClass = XmScrolledWindow;
1584                 ConvenienceFunction = XmCreateScrolledList;
1585                 Resources
1586                         {
1587                         ! new resources
1588                         XmNautoDragModel;
1589                         XmNhorizontalScrollBar;
1590                         XmNlistSizePolicy;
1591                         XmNscrollBarDisplayPolicy;
1592                         XmNscrollBarPlacement;
1593                         XmNscrolledWindowMarginHeight;
1594                         XmNscrolledWindowMarginWidth;
1595                         XmNspacing;
1596                         XmNtraverseObscuredCallback;
1597                         XmNverticalScrollBar;
1598                         ! inherited resources
1599                         };
1600                 Controls {
1601                         XmPopupMenu;
1602                         XmRenderTable;
1603                         };
1604                 };
1605 Resource
1606         XmNautoDragModel : Argument
1607                 { Type = integer;
1608                   EnumerationSet = AutoDragModel;
1609                   Default = "XmAUTO_DRAG_ENABLED"; };
1610         XmNhorizontalScrollBar : Argument
1611                 { Type = widget_ref;
1612                   Default = "Null"; };
1613         XmNlistSizePolicy : Argument
1614                 { Type = integer ;
1615                   EnumerationSet = ListSizePolicy;
1616                   Default = "XmVARIABLE"; };
1617         XmNscrollBarDisplayPolicy : Argument
1618                 { Type = integer ;
1619                   EnumerationSet = ScrollBarDisplayPolicy;
1620                   Default = "XmAS_NEEDED"; };
1621         XmNscrollBarPlacement : Argument
1622                 { Type = integer ;
1623                   EnumerationSet = ScrollBarPlacement;
1624                   Default = "XmBOTTOM_RIGHT"; };
1625         XmNscrolledWindowMarginHeight : Argument
1626                 { Type = integer ;
1627                   Default = "0"; };
1628         XmNscrolledWindowMarginWidth : Argument
1629                 { Type = integer ;
1630                   Default = "0"; };
1631         XmNverticalScrollBar : Argument
1632                 { Type = widget_ref;
1633                   Default = "Null"; };
1634
1635 \f
1636 ! Immediate subclass of XmPrimitive. The Scrolled variant is treated
1637 ! as a subclass
1638
1639 Class
1640         XmText : Widget
1641                 {
1642                 SuperClass = XmPrimitive;
1643                 ConvenienceFunction = XmCreateText;
1644                 Resources
1645                         {
1646                         ! new resources
1647                         XmNactivateCallback;
1648                         XmNautoShowCursorPosition;
1649                         XmNcursorPosition;
1650                         XmNdestinationCallback;
1651                         XmNeditable;
1652                         XmNeditMode;
1653                         XmNfocusCallback;
1654                         XmNgainPrimaryCallback;
1655                         XmNlosePrimaryCallback;
1656                         XmNlosingFocusCallback;
1657                         XmNmarginHeight { Default = "3"; };
1658                         XmNmarginWidth { Default = "3"; };
1659                         XmNmaxLength;
1660                         XmNmodifyVerifyCallback;
1661                         XmNmodifyVerifyCallbackWcs;
1662                         XmNmotionVerifyCallback;
1663                         XmNsource;
1664                         XmNtopCharacter;
1665                         XmNvalue;
1666                         XmNvalueWcs;
1667                         XmNvalueChangedCallback;
1668                         XmNverifyBell;
1669                         ! Input resource set
1670                         XmNpendingDelete;
1671                         XmNselectionArray;
1672                         XmNselectionArrayCount;
1673                         XmNselectThreshold;
1674                         ! Output resource set
1675                         XmNblinkRate;
1676                         XmNcolumns;
1677                         XmNcursorPositionVisible;
1678                         XmNfontList;
1679                         XmNrenderTable;
1680                         XmNresizeHeight;
1681                         XmNresizeWidth;
1682                         XmNrows;
1683                         XmNwordWrap;
1684                         ! inherited resources
1685                         XmNnavigationType { Default = "XmTAB_GROUP"; };
1686                         };
1687                 Controls {
1688                         XmPopupMenu;
1689                         XmRenderTable;
1690                         };
1691                 };
1692 Resource
1693         XmNautoShowCursorPosition : Argument
1694                 { Type = boolean;
1695                   Default = "True"; };
1696         XmNcursorPosition : Argument
1697                 { Type = integer;
1698                   Default = "0"; };
1699         XmNeditable : Argument
1700                 { Type = boolean;
1701                   Default = "True"; };
1702         XmNeditMode : Argument
1703                 { Type = integer;
1704                   EnumerationSet = EditMode;
1705                   Default = "XmSINGLE_LINE_EDIT"; };
1706         XmNfocusCallback : Reason
1707                 { };
1708         XmNgainPrimaryCallback : Reason
1709                 { };
1710         XmNlosePrimaryCallback : Reason
1711                 { };
1712         XmNlosingFocusCallback : Reason
1713                 { };
1714         XmNmaxLength : Argument
1715                 { Type = integer;
1716                   Default = "MAXINT"; };
1717         XmNmodifyVerifyCallback : Reason
1718                 { };
1719         XmNmodifyVerifyCallbackWcs : Reason
1720                 { };
1721         XmNmotionVerifyCallback : Reason
1722                 { };
1723         XmNpendingDelete : Argument
1724                 { Type = boolean;
1725                   Default = "True"; };
1726         XmNsource : Argument
1727                 { Type = any;
1728                   Default = "Default source"; };
1729         XmNselectionArray : Argument
1730                 { Type = integer_table;
1731                   Default = "{XmSELECT_POSITION, XmSELECT_WORD, XmSELECT_LINE, XmSELECT_ALL};" ; 
1732                   Related = XmNselectionArrayCount; };
1733         XmNselectionArrayCount : Argument
1734                 { Type = integer;
1735                   Default = "4"; };
1736         XmNselectThreshold : Argument
1737                 { Type = integer;
1738                   Default = "5"; };
1739         XmNblinkRate : Argument
1740                 { Type = integer;
1741                   Default = "500"; };
1742         XmNtopCharacter : Argument
1743                 { Type = integer;
1744                   Default = "0"; };
1745         XmNverifyBell : Argument
1746                 { Type = boolean;
1747                   Default = "True"; };
1748         XmNcolumns : Argument
1749                 { Type = integer;
1750                   Default = "20"; };
1751         XmNcursorPositionVisible : Argument
1752                 { Type = boolean;
1753                   Default = "True"; };
1754         XmNresizeHeight : Argument
1755                 { Type = boolean;
1756                   Default = "False"; };
1757         XmNresizeWidth : Argument
1758                 { Type = boolean;
1759                   Default = "False"; };
1760         XmNrows : Argument
1761                 { Type = integer;
1762                   Default = "1"; };
1763         XmNvalueWcs : Argument
1764                 { Type = wide_character;
1765                   Default = "Null"; };
1766         XmNwordWrap : Argument
1767                 { Type = boolean;
1768                   Default = "False"; };
1769
1770 Class
1771         XmScrolledText : Widget
1772                 {
1773                 SuperClass = XmText;
1774                 ParentClass = XmScrolledWindow; 
1775                 ConvenienceFunction = XmCreateScrolledText;
1776                 Resources
1777                         {
1778                         ! new resources
1779                         XmNautoDragModel;
1780                         XmNhorizontalScrollBar;
1781                         XmNscrollBarDisplayPolicy;
1782                         XmNscrollBarPlacement;
1783                         XmNscrollHorizontal;
1784                         XmNscrollLeftSide;
1785                         XmNscrollTopSide;
1786                         XmNscrollVertical;
1787                         XmNscrolledWindowMarginHeight;
1788                         XmNscrolledWindowMarginWidth;
1789                         XmNspacing;
1790                         XmNtraverseObscuredCallback;
1791                         XmNverticalScrollBar;
1792                         ! inherited resources
1793                         };
1794                 Controls {
1795                         XmPopupMenu;
1796                         XmRenderTable;
1797                         };
1798                 };
1799 Resource
1800         XmNscrollHorizontal : Argument
1801                 { Type = boolean;
1802                   Default = "True"; };
1803         XmNscrollLeftSide : Argument
1804                 { Type = boolean;
1805                   Default = "True"; };
1806         XmNscrollTopSide : Argument
1807                 { Type = boolean;
1808                   Default = "False"; };
1809         XmNscrollVertical : Argument
1810                 { Type = boolean;
1811                   Default = "False"; };
1812
1813 \f
1814 ! Immediate subclasses of XmLabel
1815
1816 Class
1817         XmCascadeButton : Widget
1818                 {
1819                 SuperClass = XmLabel;
1820                 ConvenienceFunction = XmCreateCascadeButton;
1821                 ControlsMapToResource = XmNsubMenuId;
1822                 Resources
1823                         {
1824                         ! new resources
1825                         XmNactivateCallback;
1826                         XmNcascadePixmap;
1827                         XmNcascadingCallback;
1828                         XmNmappingDelay;
1829                         XmNsubMenuId;
1830                         ! inherited resources
1831                         XmNaccelerator { Exclude = True;};
1832                         XmNacceleratorText { Exclude = True;};
1833                         XmNtraversalOn { Default = "True"; };
1834                         };
1835                 Controls
1836                         {
1837                         XmPulldownMenu;
1838                         XmPopupMenu;
1839                         };
1840                 };
1841
1842 Class
1843         XmDrawnButton : Widget
1844                 {
1845                 SuperClass = XmLabel;
1846                 ConvenienceFunction = XmCreateDrawnButton;
1847                 Resources
1848                         {
1849                         ! new resources
1850                         XmNarmCallback;
1851                         XmNactivateCallback;
1852                         XmNdisarmCallback;
1853                         XmNexposeCallback;
1854                         XmNmultiClick;
1855                         XmNresizeCallback;
1856                         XmNpushButtonEnabled;
1857                         XmNshadowType { Default = "XmSHADOW_ETCHED_IN"; };
1858                         ! inherited resources
1859                         };
1860                 Controls {
1861                         XmPopupMenu;
1862                         };
1863                 };
1864 Resource
1865         XmNpushButtonEnabled : Argument
1866                 { Type = boolean;
1867                   Default = "False"; };
1868
1869
1870
1871 ! This is a virtual class needed for accessing the automatically created
1872 ! TearOffControl for TearOff Menus.  It cannot be instantiated directly.
1873 Class
1874         XmTearOffButton : Widget
1875                 {
1876                 SuperClass = XmPushButton;
1877                 ConvenienceFunction = "";
1878                 Resources
1879                         {
1880                         ! new resources
1881                         XmNseparatorType 
1882                                 { Default = "XmSHADOW_ETCHED_OUT_DASH"; };
1883                         XmNmargin;
1884                         ! inherited resources
1885                         };
1886                 Controls {
1887                         XmPopupMenu;
1888                         };
1889                 };
1890
1891 Class
1892         XmPushButton : Widget
1893                 {
1894                 SuperClass = XmLabel;
1895                 ConvenienceFunction = XmCreatePushButton;
1896                 Resources
1897                         {
1898                         ! new resources
1899                         XmNactivateCallback;
1900                         XmNarmCallback;
1901                         XmNarmColor;
1902                         XmNarmPixmap;
1903                         XmNdefaultButtonShadowThickness;
1904                         XmNdisarmCallback;
1905                         XmNfillOnArm;
1906                         XmNmultiClick;
1907                         XmNshowAsDefault;
1908                         ! inherited resources
1909                         };
1910                 Controls {
1911                         XmPopupMenu;
1912                         };
1913                 };
1914
1915 Class
1916         XmToggleButton : Widget
1917                 {
1918                 SuperClass = XmLabel;
1919                 ConvenienceFunction = XmCreateToggleButton;
1920                 Resources
1921                         {
1922                         ! new resources
1923                         XmNarmCallback;
1924                         XmNdetailShadowThickness;
1925                         XmNdisarmCallback;
1926                         XmNfillOnSelect;
1927                         XmNhighlightThickness { Default = "dynamic"; };
1928                         XmNindeterminateInsensitivePixmap;
1929                         XmNindeterminatePixmap;
1930                         XmNindicatorOn;
1931                         XmNindicatorSize;
1932                         XmNindicatorType;
1933                         XmNselectColor;
1934                         XmNselectInsensitivePixmap;
1935                         XmNselectPixmap;
1936                         XmNset;
1937                         XmNspacing;
1938                         XmNtoggleMode;
1939                         XmNunselectColor;
1940                         XmNvalueChangedCallback;
1941                         XmNvisibleWhenOff;
1942                         ! inherited resources
1943                         XmNtraversalOn { Default = "True"; };
1944                         };
1945                 Controls {
1946                         XmPopupMenu;
1947                         };
1948                 };
1949
1950 \f
1951 ! Immediate subclasses of Composite. 
1952
1953 Class
1954         "Constraint" : MetaClass        ! Also a keyword, so quote Constraint
1955                 {
1956                 SuperClass = Composite;
1957                 Resources
1958                         {
1959                         ! new resources
1960                         ! inherited resources
1961                         };
1962                 };
1963
1964 Class 
1965         Shell : MetaClass
1966         {
1967         SuperClass = Composite;
1968         Resources
1969                 {
1970                 ! new resources
1971                 XmNallowShellResize;
1972                 XmNcreatePopupChildProc;
1973                 XmNgeometry;
1974                 XmNoverrideRedirect;
1975                 XmNpopdownCallback;
1976                 XmNpopupCallback;
1977                 XmNsaveUnder;
1978                 XmNvisual;
1979                 ! inherited resources
1980                 };
1981         };
1982
1983 Resource
1984         XmNallowShellResize : Argument
1985                 { Type = boolean;
1986                   Default = "False"; };
1987         XmNcreatePopupChildProc : Argument
1988                 { Type = any;
1989                   Default = "NULL"; };
1990         XmNgeometry : Argument
1991                 { Type = string;
1992                   Default = "NULL"; };
1993         XmNoverrideRedirect : Argument
1994                 { Type = boolean;
1995                   Default = "False"; };
1996         XmNpopdownCallback : Reason
1997                 { };
1998         XmNpopupCallback : Reason
1999                 { };
2000         XmNsaveUnder : Argument
2001                 { Type = boolean;
2002                   Default = "False"; };
2003         XmNvisual : Argument
2004                 { Type = any ;
2005                   Default = "CopyFromParent"; };
2006   
2007 \f
2008 ! Immediate subclasses of Constraint
2009
2010 Class
2011         XmManager : MetaClass
2012                 {
2013                 SuperClass = "Constraint";
2014                 Resources
2015                         {
2016                         ! new resources
2017                         XmNbottomShadowColor;
2018                         XmNbottomShadowPixmap;
2019                         XmNforeground;
2020                         XmNhelpCallback;
2021                         XmNhighlightColor;
2022                         XmNhighlightPixmap;
2023                         XmNinitialFocus;
2024                         XmNlayoutDirection;
2025                         XmNnavigationType { Default = "XmTAB_GROUP"; };
2026                         XmNpopupHandlerCallback;
2027                         XmNshadowThickness { Default = "0"; };
2028                         XmNstringDirection;
2029                         XmNtopShadowColor;
2030                         XmNtopShadowPixmap;
2031                         XmNtraversalOn;
2032                         XmNunitType;
2033                         XmNuserData;
2034                         ! inherited resources
2035                         };
2036                 };
2037
2038 Resource
2039         XmNinitialFocus : Argument
2040                 { Type = widget_ref;
2041                   Default = "NULL"; };
2042         XmNpopupHandlerCallback : Reason
2043                 { };
2044         XmNtraversalCallback : Reason
2045                 { };
2046         XmNtraverseObscuredCallback : Reason
2047                 { };
2048
2049 \f
2050 ! Immediate subclasses of Shell
2051
2052 Class
2053         OverrideShell : MetaClass
2054         {
2055         SuperClass = Shell;
2056         Resources
2057                 {
2058                 ! new resources
2059                 ! inherited resources
2060                 XmNoverrideRedirect { Default = "True"; };
2061                 XmNsaveUnder { Default = "True"; };
2062                 };
2063         };
2064
2065 Class
2066         WMShell : MetaClass
2067         {
2068         SuperClass = Shell;
2069         Resources
2070                 {
2071                 ! new resources
2072                 XmNbaseHeight;
2073                 XmNbaseWidth;
2074                 XmNheightInc;
2075                 XmNiconMask;
2076                 XmNiconPixmap;
2077                 XmNiconWindow;
2078                 XmNiconX;
2079                 XmNiconY;
2080                 XmNinitialState;
2081                 XmNinput;
2082                 XmNmaxAspectX;
2083                 XmNmaxAspectY;
2084                 XmNmaxHeight;
2085                 XmNmaxWidth;
2086                 XmNminAspectX;
2087                 XmNminAspectY;
2088                 XmNminHeight;
2089                 XmNminWidth;
2090                 XmNtitle;
2091                 XmNtitleEncoding;
2092                 XmNtransient;
2093                 XmNwaitForWm;
2094                 XmNwidthInc;
2095                 XmNwindowGroup;
2096                 XmNwinGravity;
2097                 XmNwmTimeout;
2098                 };
2099         };
2100
2101 Resource
2102         XmNbaseHeight : Argument
2103                 { Type = vertical_float;
2104                   Default = "dynamic"; };
2105         XmNbaseWidth : Argument
2106                 { Type = horizontal_float;
2107                   Default = "dynamic"; };
2108         XmNheightInc : Argument
2109                 { Type = vertical_float;
2110                   Default = "dynamic"; };
2111         XmNiconMask : Argument
2112                 { Type = pixmap;
2113                   Default = "NULL"; };
2114         XmNiconPixmap : Argument
2115                 { Type = pixmap;
2116                   Default = "NULL"; };
2117         XmNiconWindow : Argument
2118                 { Type = any;
2119                   Default = "NULL"; };
2120         XmNiconX : Argument
2121                 { Type = horizontal_float;
2122                   Default = "-1"; };
2123         XmNiconY : Argument
2124                 { Type = vertical_float;
2125                   Default = "-1"; };
2126         XmNinitialState : Argument
2127                 { Type = integer;
2128                   EnumerationSet = InitialState;
2129                   Default = "NormalState"; };
2130         XmNinput : Argument
2131                 { Type = boolean;
2132                   Default = "False"; };
2133         XmNmaxAspectX : Argument
2134                 { Type = integer;
2135                   Default = "dynamic"; };
2136         XmNmaxAspectY : Argument
2137                 { Type = integer;
2138                   Default = "dynamic"; };
2139         XmNmaxHeight : Argument
2140                 { Type = vertical_float;
2141                   Default = "dynamic"; };
2142         XmNmaxWidth : Argument
2143                 { Type = horizontal_float;
2144                   Default = "dynamic"; };
2145         XmNminAspectX : Argument
2146                 { Type = integer;
2147                   Default = "dynamic"; };
2148         XmNminAspectY : Argument
2149                 { Type = integer;
2150                   Default = "dynamic"; };
2151         XmNminHeight : Argument
2152                 { Type = vertical_float;
2153                   Default = "dynamic"; };
2154         XmNminWidth : Argument
2155                 { Type = horizontal_float;
2156                   Default = "dynamic"; };
2157         XmNtitle : Argument
2158                 { Type = string;
2159                   Default = "dynamic"; };
2160         XmNtitleEncoding : Argument
2161                 { Type = any;
2162                   Default = "dynamic"; };
2163         XmNtransient : Argument
2164                 { Type = boolean;
2165                   Default = "False"; };
2166         XmNwaitForWm : Argument
2167                 { Type = boolean;
2168                   Default = "True"; };
2169         XmNwidthInc : Argument
2170                 { Type = horizontal_float;
2171                   Default = "dynamic"; };
2172         XmNwindowGroup : Argument
2173                 { Type = any;
2174                   Default = "dynamic"; };
2175         XmNwinGravity : Argument
2176                 { Type = integer;
2177                   Default = "dynamic"; };
2178         XmNwmTimeout : Argument
2179                 { Type = integer;
2180                   Default = "5000"; };
2181
2182 \f
2183 ! Immediate subclasses of WMShell
2184 Class
2185         VendorShell : MetaClass
2186                 {
2187                 SuperClass = WMShell;
2188                 Resources
2189                         {
2190                         ! new resources
2191                         XmNaudibleWarning;
2192                         XmNbuttonFontList;
2193                         XmNlabelFontList;
2194                         XmNtextFontList;
2195                         XmNbuttonRenderTable;
2196                         XmNlabelRenderTable;
2197                         XmNtextRenderTable;
2198                         XmNdarkThreshold;
2199                         XmNdefaultFontList;
2200                         XmNdeleteResponse;
2201                         XmNfocusMovedCallback;
2202                         XmNforegroundThreshold;
2203                         XmNinputMethod;
2204                         XmNinputPolicy;
2205                         XmNkeyboardFocusPolicy;
2206                         XmNlightThreshold;
2207                         XmNmwmDecorations;
2208                         XmNmwmFunctions;
2209                         XmNmwmInputMode;
2210                         XmNmwmMenu;
2211                         XmNpreeditType;
2212                         XmNrealizeCallback;
2213                         XmNshellUnitType;
2214                         ! This is really a Shell resource
2215                         XmNuseAsyncGeometry;
2216                         ! inherited resources
2217                         };
2218                 Controls {
2219                             XmRenderTable;
2220                                 };
2221                 };
2222
2223 Resource 
2224         XmNaudibleWarning : Argument
2225                 { Type = integer;
2226                   EnumerationSet = AudibleWarning;
2227                   Default = "XmBELL"; };
2228         XmNdarkThreshold : Argument
2229                 { Type = integer; };
2230         XmNdefaultFontList : Argument
2231                 { Type = font_table;
2232                   Default = "dynamic"; };
2233         XmNdeleteResponse : Argument
2234                 { Type = integer;
2235                   EnumerationSet = DeleteResponse;
2236                   Default = "XmDESTROY"; };
2237         XmNfocusMovedCallback : Reason
2238                 { };
2239         XmNforegroundThreshold : Argument
2240                 { Type = integer; };
2241         XmNinputMethod : Argument
2242                 { Type = string;
2243                   Default = "Null"; };
2244         XmNinputPolicy : Argument
2245                 { Type = integer;
2246                   EnumerationSet = InputPolicy; };
2247         XmNkeyboardFocusPolicy : Argument
2248                 { Type = integer;
2249                   EnumerationSet = KeyboardFocusPolicy;
2250                   Default = "XmEXPLICIT"; };
2251         XmNlightThreshold : Argument
2252                 { Type = integer; };
2253         XmNmwmDecorations : Argument
2254                 { Type = integer;
2255                   EnumerationSet = MwmDecorations;
2256                   Default = "-1"; };
2257         XmNmwmFunctions : Argument
2258                 { Type = integer;
2259                   EnumerationSet = MwmFunctions;
2260                   Default = "-1"; };
2261         XmNmwmInputMode : Argument
2262                 { Type = integer;
2263                   EnumerationSet = MwmInputMode;
2264                   Default = "-1"; };
2265         XmNmwmMenu : Argument
2266                 { Type = string;
2267                   Default = "NULL"; };
2268         XmNrealizeCallback : Reason
2269                 { };
2270         XmNpreeditType : Argument
2271                 { Type = string;
2272                   Default = "OverTheSpot,OffTheSpot,Root"; };
2273         XmNshellUnitType : Argument
2274                 { Type = integer;
2275                   EnumerationSet = UnitType;
2276                   Default = "XmPIXELS"; };
2277         XmNuseAsyncGeometry : Argument
2278                 { Type = boolean;
2279                   Default = "False"; };
2280
2281 \f
2282 ! Immediate subclasses of VendorShell
2283
2284 Class
2285         TopLevelShell : MetaClass
2286                 {       
2287                 SuperClass = VendorShell;
2288                 Resources
2289                         {
2290                         ! new resources
2291                         XmNiconic;
2292                         XmNiconName;
2293                         XmNiconNameEncoding;
2294                         ! inherited resources
2295                 };
2296         };
2297
2298 Resource
2299         XmNiconic : Argument
2300                 { Type = boolean;
2301                   Default = "False"; };
2302         XmNiconName : Argument
2303                 { Type = string;
2304                   Default = "NULL"; };
2305         XmNiconNameEncoding : Argument
2306                 { Type = any;
2307                   Default = "dynamic"; };
2308
2309 Class
2310         TransientShell : MetaClass
2311                 {
2312                 SuperClass = VendorShell;
2313                 Resources
2314                         {
2315                         ! new resources
2316                         XmNtransientFor;
2317                         ! inherited resources
2318                 };
2319         };
2320
2321 Resource
2322         XmNtransientFor : Argument
2323                 { Type = widget_ref;
2324                   Default = "NULL"; };
2325
2326 \f
2327 ! Immediate subclasses of TransientShell
2328
2329 Class
2330         XmDialogShell : Widget
2331                 { 
2332                 SuperClass = TransientShell;
2333                 ConvenienceFunction = XmCreateDialogShell;
2334                 Resources
2335                         {
2336                         ! new resources
2337                         ! inherited resources
2338                         XmNdeleteResponse { Default = "XmUNMAP"; };
2339                         };
2340                 Controls
2341                         {
2342                         ManagerWidgets;
2343                         };
2344         };
2345
2346 \f
2347 ! Immediate subclasses of OverrideShell
2348
2349 Class
2350         XmMenuShell : Widget
2351                 {
2352                 SuperClass = OverrideShell;
2353                 ConvenienceFunction = XmCreateMenuShell;
2354                 Resources
2355                         {
2356                         ! new resources
2357                         XmNbuttonFontList;
2358                         XmNdefaultFontList;
2359                         XmNlabelFontList;
2360                         XmNbuttonRenderTable;
2361                         XmNlabelRenderTable;
2362                         XmNtextRenderTable;
2363                         ! inherited resources
2364                         XmNallowShellResize { Default = "True"; };
2365                 };
2366                 Controls
2367                         {
2368                         XmRowColumn;
2369                         XmRenderTable;
2370                         };
2371         };
2372
2373 \f
2374 ! Immediate subclasses of XmManager
2375
2376 Class
2377         XmDrawingArea : Widget
2378                 {
2379                 SuperClass = XmManager;
2380                 ConvenienceFunction = XmCreateDrawingArea;
2381                 Resources
2382                         {
2383                         ! new resources
2384                         XmNconvertCallback;
2385                         XmNdestinationCallback;
2386                         XmNexposeCallback;
2387                         XmNinputCallback;
2388                         XmNmarginHeight { Default = "10"; };
2389                         XmNmarginWidth { Default = "10"; };
2390                         XmNresizeCallback;
2391                         XmNresizePolicy;
2392                         ! inherited resources
2393                         };
2394                 Controls
2395                         {
2396                         AllWidgetsAndGadgets;
2397                         };
2398                 };
2399
2400 Resource
2401         XmNconvertCallback : Reason
2402                 { };
2403         XmNexposeCallback : Reason
2404                 { };
2405         XmNinputCallback : Reason
2406                 { };
2407         XmNresizeCallback : Reason
2408                 { };
2409         XmNresizePolicy : Argument
2410                 { Type = integer;
2411                   EnumerationSet = ResizePolicy;
2412                   Default = "XmRESIZE_ANY"; };
2413
2414 Class
2415         XmFrame : Widget
2416                 {
2417                 SuperClass = XmManager;
2418                 ConvenienceFunction = XmCreateFrame;
2419                 Controls
2420                         {
2421                         AllWidgetsAndGadgets;
2422                         };
2423                 Resources
2424                         {
2425                         ! new resources
2426                         XmNmarginHeight { Default = "0"; };
2427                         XmNmarginWidth  { Default = "0"; };
2428                         XmNshadowType;
2429                         ! constraint resources
2430                         XmNchildHorizontalAlignment;
2431                         XmNchildHorizontalSpacing;
2432                         XmNchildType;
2433                         XmNframeChildType;
2434                         XmNchildVerticalAlignment;
2435                         ! inherited resources
2436                         XmNshadowThickness { Default = "dynamic"; };
2437                         };
2438                 };
2439 Resource
2440         XmNshadowType : Argument
2441                 { Type = integer;
2442                   EnumerationSet = ShadowType;
2443                   Default = "XmSHADOW_ETCHED_IN"; };
2444 ! constraints
2445         XmNchildHorizontalAlignment : Constraint
2446                 { Type = integer;
2447                   EnumerationSet = Alignment;
2448                   Default = "XmALIGNMENT_BEGINNING"; };
2449         XmNchildHorizontalSpacing : Constraint
2450                 { Type = horizontal_float;
2451                   Default = "dynamic"; };
2452         XmNchildType : Constraint
2453                 { Type = integer;
2454                   EnumerationSet = FrameChildType;
2455                   Default = "XmFRAME_WORKAREA_CHILD"; };
2456         XmNframeChildType : Constraint
2457                 { Type = integer;
2458                   EnumerationSet = FrameChildType;
2459                   Default = "XmFRAME_WORKAREA_CHILD"; };
2460         XmNchildVerticalAlignment : Constraint
2461                 { Type = integer;
2462                   EnumerationSet = ChildVerticalAlignment;
2463                   Default = "XmALIGNMENT_CENTER"; };
2464                 
2465 Class
2466         XmPanedWindow : Widget
2467                 {
2468                 SuperClass = XmManager;
2469                 ConvenienceFunction = XmCreatePanedWindow;
2470                 Resources
2471                         {
2472                         ! new resources
2473                         XmNmarginHeight { Default = "3"; };
2474                         XmNmarginWidth { Default = "3"; };
2475                         XmNorientation;
2476                         XmNrefigureMode;
2477                         XmNsashHeight;
2478                         XmNsashIndent;
2479                         XmNsashShadowThickness;
2480                         XmNsashWidth;
2481                         XmNseparatorOn;
2482                         XmNspacing { Default = "8"; };
2483                         ! constraint resources
2484                         XmNpaneMinimum;
2485                         XmNpaneMaximum;
2486                         XmNpositionIndex;
2487                         XmNskipAdjust;
2488                         XmNallowResize;
2489                         ! inherited resources
2490                         };
2491                 Controls
2492                         {
2493                         AllWidgetsAndGadgets;
2494                         };
2495                 };
2496
2497 Resource
2498         XmNpositionIndex : Argument
2499                 { Type = integer;
2500                   EnumerationSet = PositionIndex;
2501                   Default = "XmLAST_POSITION"; };
2502         XmNrefigureMode : Argument
2503                 { Type = boolean;
2504                   Default = "True"; };
2505         XmNsashHeight : Argument
2506                 { Type = horizontal_float;
2507                   Default = "10"; };
2508         XmNsashIndent : Argument
2509                 { Type = horizontal_float;
2510                   Default = "-10"; };
2511         XmNsashShadowThickness : Argument
2512                 { Type = horizontal_float;
2513                   Default = "2"; };
2514         XmNsashWidth : Argument
2515                 { Type = horizontal_float;
2516                   Default = "10"; };
2517         XmNseparatorOn : Argument
2518                 { Type = boolean;
2519                   Default = "True"; };
2520         XmNpaneMinimum : Constraint
2521                 { Type = horizontal_float;
2522                   Default = "1"; };
2523         XmNpaneMaximum : Constraint
2524                 { Type = horizontal_float;
2525                   Default = "1000"; };
2526         XmNskipAdjust : Constraint
2527                 { Type = boolean;
2528                   Default = "False"; };
2529         XmNallowResize : Constraint
2530                 { Type = boolean;
2531                   Default = "False"; };
2532
2533 Class
2534         XmScale : Widget
2535                 {
2536                 SuperClass = XmManager;
2537                 ConvenienceFunction = XmCreateScale;
2538                 Resources
2539                         {
2540                         ! new resources
2541                         XmNconvertCallback;
2542                         XmNdecimalPoints;
2543                         XmNdragCallback;
2544                         XmNeditable;
2545                         XmNfontList { Default = "Fixed"; };
2546                         XmNrenderTable;
2547                         XmNhighlightOnEnter { Default = "False"; };     
2548                         XmNhighlightThickness { Default = "0"; };
2549                         XmNmaximum { Default = "100"; };
2550                         XmNminimum { Default = "0"; };
2551                         XmNorientation { Default = "XmVERTICAL"; };
2552                         XmNprocessingDirection {Default = "XmMAX_ON_TOP"; };
2553                         XmNscaleHeight;
2554                         XmNscaleMultiple;
2555                         XmNscaleWidth;
2556                         XmNshowArrows;
2557                         XmNshowValue;
2558                         XmNsliderVisual;
2559                         XmNslidingMode;
2560                         XmNtitleString;
2561                         XmNvalue { Default = "0"; };
2562                         XmNvalueChangedCallback;
2563                         ! inherited resources
2564                         };
2565                 Controls
2566                         {
2567                         AllWidgetsAndGadgets;
2568                         };
2569                 Children
2570                         {
2571                         Xm_Title;
2572                         };
2573                 };
2574 Child
2575         Xm_Title : XmLabel;
2576
2577 Resource
2578         
2579 !       XmNdecimalPoints: Argument
2580 !               { Type = integer;
2581 !                 Default = "0"; };
2582         XmNdecimalPoints: Constraint
2583                 { Type = integer;
2584                   Default = "0"; };
2585         XmNscaleHeight: Argument
2586                 { Type = vertical_float;
2587                   Default = "0"; };     
2588         XmNscaleMultiple: Argument
2589                 { Type = integer;
2590                   Default = "1"; };     
2591         XmNscaleWidth: Argument
2592                 { Type = horizontal_float;
2593                   Default = "0"; };     
2594         XmNshowValue: Argument
2595                 { Type = integer;
2596                   EnumerationSet = ScaleShowValue;
2597                   Default = "XmNONE"; };        
2598         XmNtitleString: Argument
2599                 { Type = compound_string;
2600                   Default = "Null"; };  
2601                  
2602 Class
2603         XmScrolledWindow : Widget
2604                 {
2605                 SuperClass = XmManager;
2606                 ConvenienceFunction = XmCreateScrolledWindow;
2607                 Resources
2608                         {
2609                         ! new resources
2610                         XmNautoDragModel;
2611                         XmNclipWindow { Exclude = True; };
2612                         XmNhorizontalScrollBar { Default = "Null"; };
2613                         XmNscrollBarDisplayPolicy { Default = "XmSTATIC"; };
2614                         XmNscrollBarPlacement { Default = "XmBOTTOM_RIGHT"; };
2615                         XmNscrolledWindowMarginHeight;
2616                         XmNscrolledWindowMarginWidth;
2617                         XmNscrollingPolicy;
2618                         XmNspacing { Default = "4"; };
2619                         XmNtraverseObscuredCallback;
2620                         XmNverticalScrollBar { Default = "Null"; };
2621                         XmNvisualPolicy;
2622                         XmNworkWindow;
2623                         ! inherited resources
2624                         ! constraint resources
2625                         XmNscrolledWindowChildType;
2626                         };
2627                 Controls
2628                         {
2629                         AllWidgetsAndGadgets;
2630                         };
2631                 Children
2632                         {
2633                         Xm_VertScrollBar;
2634                         Xm_HorScrollBar;
2635                         };
2636                 };
2637 Child
2638         Xm_VertScrollBar : XmScrollBar;
2639         Xm_HorScrollBar : XmScrollBar;
2640
2641 Resource
2642         XmNclipWindow : Argument
2643                 { Type = widget_ref;
2644                   Default = "Null"; };
2645         XmNscrollingPolicy : Argument
2646                 { Type = integer;
2647                   EnumerationSet = ScrollingPolicy;
2648                   Default = "XmAPPLICATION_DEFINED"; };
2649         XmNvisualPolicy : Argument
2650                 { Type = integer;
2651                   EnumerationSet = VisualPolicy;
2652                   Default = "XmVARIABLE"; };
2653         XmNworkWindow : Argument
2654                 { Type = widget_ref;
2655                   Default = "Null"; };
2656         XmNscrolledWindowChildType : Constraint
2657                 { Type = integer;
2658                   EnumerationSet = ScrolledWindowChildType; };
2659
2660 Class
2661         XmComboBox : Widget
2662                 {
2663                 SuperClass = XmManager;
2664                 ConvenienceFunction = XmCreateComboBox;
2665                 Resources
2666                         {
2667                         ! new resources
2668                         XmNarrowSize;
2669                         XmNarrowSpacing;
2670                         XmNcolumns { Default = "XmUNSPECIFIED_COUNT"; };
2671                         XmNcomboBoxType;                        
2672                         XmNfontList;
2673                         XmNhighlightThickness;
2674                         XmNitems { Default = "XmUNSPECIFIED"; };
2675                         XmNitemCount { Default = "XmUNSPECIFIED_COUNT"; };
2676                         XmNmarginHeight;
2677                         XmNmarginWidth;
2678                         XmNmatchBehavior;
2679                         XmNlist;
2680                         XmNpositionMode;
2681                         XmNrenderTable;
2682                         XmNselectionCallback;
2683                         XmNselectedItem;
2684                         XmNselectedPosition;
2685                         XmNtextField;
2686                         XmNvisibleItemCount { Default = "XmUNSPECIFIED_COUNT";};
2687
2688                         ! inherited resources
2689                         XmNnavigationType { Default = "XmSTICKY_TAB_GROUP"; };
2690                         XmNshadowThickness { Default = "dynamic"; };
2691                         };
2692 !
2693 ! Do the XmNtextField and XmNlist need to be defined in the Children/Controls
2694 !
2695                 Controls
2696                         {
2697                         AllWidgetsAndGadgets;
2698                         };
2699                 Children
2700                         {
2701                         Xm_List;
2702                         Xm_Text;
2703                         Xm_TextField;
2704                         };
2705                 };
2706
2707 Child
2708         Xm_List : XmList;
2709         Xm_TextField : XmTextField;
2710
2711 Resource
2712         XmNarrowSize : Argument
2713                 { Type = horizontal_float;
2714                   Default = XmINVALID_DIMENSION; };
2715         XmNarrowSpacing : Argument
2716                 { Type = horizontal_float;
2717                   Default = XmINVALID_DIMENSION; };
2718         XmNselectionCallback : Reason
2719                 { };
2720         XmNselectedItem : Argument
2721                 { Type = compound_string;
2722                   Default = "NULL"; };
2723         XmNselectedPosition : Argument
2724                 { Type = integer;
2725                   Default = "0"; };
2726         XmNcomboBoxType : Argument
2727                 { Type = integer;
2728                   EnumerationSet = ComboBoxType;
2729                   Default = "XmDROP_DOWN_LIST"; };
2730         XmNlist : Argument
2731                 { Type = widget_ref;
2732                   Default = "NULL"; };
2733         XmNtextField : Argument
2734                 { Type = widget_ref;
2735                   Default = "NULL"; };
2736         XmNpositionMode : Argument
2737                 { Type = integer;
2738                   EnumerationSet = PositionMode;
2739                   Default = "XmZERO_BASED"; };
2740
2741 Class
2742         XmContainer : Widget
2743                 {
2744                 SuperClass = XmManager;
2745                 ConvenienceFunction = XmCreateContainer;
2746                 Resources
2747                         {
2748                         ! new resources
2749                         XmNautomaticSelection { Default = "XmAUTO_SELECT"; };
2750                         XmNcollapsedStatePixmap;
2751                         XmNconvertCallback;
2752                         XmNdefaultActionCallback;
2753                         XmNdestinationCallback;
2754                         XmNdetailColumnHeading;
2755                         XmNdetailColumnHeadingCount;
2756                         XmNdetailOrder;
2757                         XmNdetailOrderCount;
2758                         XmNdetailTabList;
2759                         XmNentryViewType;
2760                         XmNexpandedStatePixmap;
2761                         XmNlargeCellHeight;
2762                         XmNlargeCellWidth;
2763                         XmNlayoutType;
2764                         XmNmarginHeight;
2765                         XmNmarginWidth;
2766                         XmNoutlineButtonPolicy;
2767                         XmNoutlineChangedCallback;
2768                         XmNoutlineColumnWidth;
2769                         XmNoutlineIndentation;
2770                         XmNoutlineLineStyle;
2771                         XmNprimaryOwnership;
2772                         XmNrenderTable;
2773                         XmNresizeHeight;
2774                         XmNresizeWidth;
2775                         XmNselectColor;
2776                         ! Cannot support the next two without
2777                         ! a widget table data type
2778                         ! XmNselectedObjects;
2779                         ! XmNselectedObjectCount;
2780                         XmNselectionCallback;
2781                         XmNselectionPolicy;
2782                         XmNselectionTechnique;
2783                         XmNsmallCellHeight;
2784                         XmNsmallCellWidth;
2785                         XmNspatialIncludeModel;
2786                         XmNspatialResizeModel;
2787                         XmNspatialSnapModel;
2788                         XmNspatialStyle;
2789                         ! constraint resources
2790                         XmNentryParent;
2791                         XmNoutlineState;
2792                         XmNlargeIconX;
2793                         XmNlargeIconY;
2794                         XmNpositionIndex;
2795                         XmNsmallIconX;
2796                         XmNsmallIconY;
2797                         };
2798                 Controls
2799                         {
2800                         AllWidgetsAndGadgets;
2801                         };
2802                 };
2803
2804 Resource
2805         XmNcollapsedStatePixmap : Argument
2806                 { Type = pixmap;
2807                   Default = "XmUNSPECIFIED_PIXMAP"; };
2808         XmNdetailColumnHeading : Argument
2809                 { Type = string_table;
2810                   Default = "NULL"; 
2811                   Related = XmNdetailColumnHeadingCount; };
2812         XmNdetailColumnHeadingCount : Argument
2813                 { Type = integer;
2814                   Default = "0"; };
2815         XmNdetailOrder : Argument
2816                 { Type = integer_table;
2817                   Default = "NULL"; 
2818                   Related = XmNdetailOrderCount; };
2819         XmNdetailOrderCount : Argument
2820                 { Type = integer;
2821                   Default = "0"; };
2822         XmNdetailTabList : Argument
2823                 { Type = widget_ref;
2824                   Default = "NULL"; };
2825         XmNentryViewType : Argument
2826                 { Type = integer;
2827                   EnumerationSet = EntryViewType;
2828                   Default = "XmLARGE_ICON"; };
2829         XmNexpandedStatePixmap : Argument
2830                 { Type = pixmap;
2831                   Default = "XmUNSPECIFIED_PIXMAP"; };
2832         XmNlargeCellHeight : Argument
2833                 { Type = vertical_float; };
2834         XmNlargeCellWidth : Argument
2835                 { Type = horizontal_float; };
2836         XmNlayoutDirection : Argument
2837                 { Type = integer;
2838                   EnumerationSet = LayoutDirection;
2839                   Default = "XmLEFT_TO_RIGHT_TOP_TO_BOTTOM"; };
2840         XmNlayoutType : Argument
2841                 { Type = integer;
2842                   EnumerationSet = LayoutType;
2843                   Default = "XmSPATIAL"; };
2844         XmNoutlineButtonPolicy : Argument
2845                 { Type = integer;
2846                   EnumerationSet = OutlineButtonPolicy;
2847                   Default = "XmOUTLINE_BUTTON_PRESENT"; };
2848         XmNoutlineChangedCallback : Reason
2849                 { };
2850         XmNoutlineColumnWidth : Argument
2851                 { Type = horizontal_float;
2852                   Default = "0"; };
2853         XmNoutlineIndentation : Argument
2854                 { Type = horizontal_float;
2855                   Default = "100"; };
2856         XmNoutlineLineStyle : Argument
2857                 { Type = integer;
2858                   EnumerationSet = ContainerLineStyle;
2859                   Default = "XmSINGLE"; };
2860         XmNselectionTechnique : Argument
2861                 { Type = integer;
2862                   EnumerationSet = SelectionTechnique;
2863                   Default = "XmTOUCH_OVER"; };
2864         XmNsmallCellHeight : Argument
2865                 { Type = vertical_float; };
2866         XmNsmallCellWidth : Argument
2867                 { Type = horizontal_float; };
2868         XmNspatialIncludeModel : Argument
2869                 { Type = integer;
2870                   EnumerationSet = SpatialIncludeModel;
2871                   Default = "XmAPPEND"; };
2872         XmNspatialResizeModel : Argument
2873                 { Type = integer;
2874                   EnumerationSet = SpatialResizeModel;
2875                   Default = "XmGROW_MINOR"; };
2876         XmNspatialSnapModel : Argument
2877                 { Type = integer;
2878                   EnumerationSet = SpatialSnapModel;
2879                   Default = "XmNONE"; };
2880         XmNspatialStyle : Argument
2881                 { Type = integer;
2882                   EnumerationSet = SpatialStyle;
2883                   Default = "XmSPECIFIC"; };
2884         ! constraint resources
2885         XmNentryParent : Constraint
2886                 { Type = widget_ref;
2887                   Default = "NULL"; };
2888         XmNoutlineState : Constraint
2889                 { Type = integer;
2890                   EnumerationSet = OutlineState;
2891                   Default = "XmCOLLAPSED"; };
2892         XmNlargeIconX : Constraint
2893                 { Type = horizontal_float; };
2894         XmNlargeIconY : Constraint
2895                 { Type = vertical_float; };
2896         XmNsmallIconX : Constraint
2897                 { Type = horizontal_float; };
2898         XmNsmallIconY : Constraint
2899                 { Type = vertical_float; };
2900
2901 Class
2902         XmNotebook : Widget
2903                 {
2904                 SuperClass = XmManager;
2905                 ConvenienceFunction = XmCreateNotebook;
2906                 Resources
2907                         {
2908                         ! new resources
2909                         XmNcurrentPageNumber;
2910                         XmNfirstPageNumber;
2911                         XmNlastPageNumber;
2912                         XmNorientation;
2913                         XmNbackPagePlacement;
2914                         XmNbackPageNumber;
2915                         XmNbackPageSize;
2916                         XmNbackPageForeground;
2917                         XmNbackPageBackground;
2918                         XmNframeBackground;
2919                         XmNbindingType;
2920                         XmNbindingPixmap;
2921                         XmNbindingWidth;
2922                         XmNinnerMarginWidth;
2923                         XmNinnerMarginHeight;
2924                         XmNmajorTabSpacing;
2925                         XmNminorTabSpacing;
2926                         XmNframeShadowThickness;
2927                         XmNpageChangedCallback;
2928                         ! constraint resources
2929                         XmNnotebookChildType;
2930                         XmNpageNumber;
2931                         XmNresizable;
2932                         };
2933                 Controls
2934                         {
2935                         AllWidgetsAndGadgets;
2936                         };
2937                 };
2938
2939 Resource
2940         XmNcurrentPageNumber : Argument
2941                 { Type = integer; };
2942         XmNfirstPageNumber : Argument
2943                 { Type = integer;
2944                   Default = "1"; };
2945         XmNlastPageNumber : Argument
2946                 { Type = integer; };
2947         XmNbackPagePlacement : Argument
2948                 { Type = integer; };
2949         XmNbackPageNumber : Argument
2950                 { Type = integer; };
2951         XmNbackPageSize : Argument
2952                 { Type = horizontal_float; };
2953         XmNbackPageForeground : Argument
2954                 { Type = color; };
2955         XmNbackPageBackground : Argument
2956                 { Type = color; };
2957         XmNframeBackground : Argument
2958                 { Type = color; };
2959         XmNbindingType : Argument
2960                 { Type = integer;
2961                   EnumerationSet = BindingType; };
2962         XmNbindingPixmap : Argument
2963                 { Type = pixmap;
2964                   Default = "XmUNSPECIFIED_PIXMAP"; };
2965         XmNbindingWidth : Argument
2966                 { Type = horizontal_float;
2967                   Default = "25"; };
2968         XmNinnerMarginWidth : Argument
2969                 { Type = horizontal_float; };
2970         XmNinnerMarginHeight : Argument
2971                 { Type = vertical_float; };
2972         ! I am going out on a limb here, but I think tabs will usually
2973         ! be situated vertically up and down the notebook. Therefore,
2974         ! let us make the next two resources vertical floats even though
2975         ! spacing resources which are used for both vertical and
2976         ! horizontal dimensions are type as horizontal float by default.
2977         XmNmajorTabSpacing : Argument
2978                 { Type = vertical_float; };
2979         XmNminorTabSpacing : Argument
2980                 { Type = vertical_float; };
2981         XmNnotebookChildType : Constraint
2982                 { Type = integer;
2983                   EnumerationSet = NotebookChildType; };
2984         XmNframeShadowThickness : Argument
2985                 { Type = horizontal_float; };
2986         XmNpageChangedCallback : Reason
2987                 { };
2988         XmNpageNumber : Constraint
2989                 { Type = integer; };
2990
2991 Class
2992         XmSpinBox : Widget
2993                 {
2994                 SuperClass = XmManager;
2995                 ConvenienceFunction = XmCreateSpinBox;
2996                 Resources
2997                         {
2998                         ! new resources
2999                         XmNarrowLayout;
3000                         XmNarrowOrientation;
3001                         XmNarrowSize;
3002                         XmNdefaultArrowSensitivity;
3003                         XmNinitialDelay;
3004                         XmNmarginWidth;
3005                         XmNmarginHeight;
3006                         XmNmodifyVerifyCallback;
3007                         XmNrepeatDelay;
3008                         XmNspacing { Default = "0"; };
3009                         XmNvalueChangedCallback;
3010
3011                         ! inherited resources
3012                         !XmNactivateCallback;
3013                         !XmNlosingFocusCallback;
3014                         !XmNnavigationType;
3015                         !XmNtraversalOn;
3016
3017                         ! constraint resources
3018                         XmNarrowSensitivity;
3019                         XmNdecimalPoints;
3020                         XmNincrementValue;
3021                         XmNmaximumValue;
3022                         XmNminimumValue;
3023                         XmNnumValues;
3024                         XmNposition;
3025                         XmNpositionType;
3026                         XmNspinBoxChildType;
3027                         XmNvalues;
3028
3029                         ! undocumented resources
3030                         !XmNwrap;
3031                         };
3032                 Controls
3033                         {
3034                         AllWidgetsAndGadgets;
3035                         };
3036                 };
3037
3038
3039 Resource
3040         XmNdefaultArrowSensitivity : Argument
3041                 { Type = integer;
3042                   EnumerationSet = ArrowSensitivity;
3043                   Default = "XmARROWS_SENSITIVE"; };
3044         XmNarrowLayout : Argument
3045                 { Type = integer;
3046                   EnumerationSet = ArrowLayout;
3047                   Default = "XmARROWS_END"; };
3048         XmNarrowOrientation : Argument
3049                 { Type = integer;
3050                   EnumerationSet = ArrowOrientation;
3051                   Default = "XmARROWS_VERTICAL"; };
3052         XmNspinBoxChildType : Constraint
3053                 { Type = integer;
3054                   EnumerationSet = SpinBoxChildType; };
3055         XmNpositionType : Constraint
3056                 { Type = integer;
3057                   EnumerationSet = PositionType;
3058                   Default = "XmPOSITION_VALUE"; };
3059         XmNposition : Constraint
3060                 { Type = integer;
3061                   Default = "0"; };
3062         XmNnumValues : Constraint
3063                 { Type = integer;
3064                  Default = "0"; };
3065         XmNvalues : Constraint
3066                 { Type = string_table;
3067                   Default = "NULL"; 
3068                   Related = XmNnumValues; };
3069         XmNminimumValue : Constraint
3070                 { Type = integer;
3071                   Default = "0"; };
3072         XmNmaximumValue : Constraint
3073                 { Type = integer;
3074                   Default = "10"; };
3075         XmNincrementValue : Constraint
3076                 { Type = integer;
3077                   Default = "1"; };
3078         XmNarrowSensitivity : Constraint
3079                 { Type = integer;
3080                   EnumerationSet = ArrowSensitivity;
3081                   Default = "XmARROWS_DEFAULT_SENSITIVITY"; };
3082         XmNwrap : Constraint
3083                 { Type = boolean;
3084                   Default = "True"; };
3085
3086                   
3087
3088 Class
3089         XmSimpleSpinBox : Widget
3090                 {
3091                 SuperClass = XmSpinBox;
3092                 ConvenienceFunction = XmCreateSimpleSpinBox;
3093                 Resources
3094                         {
3095                         ! inherited resources
3096                         XmNshadowThickness { Default = "1"; };
3097                         ! new resources
3098                         XmNarrowSensitivity;
3099                         XmNcolumns;
3100                         XmNdecimalPoints;
3101                         XmNeditable;
3102                         XmNincrementValue;
3103                         XmNmaximumValue;
3104                         XmNminimumValue;
3105                         XmNnumValues;
3106                         XmNposition;
3107                         XmNpositionType;
3108                         XmNspinBoxChildType { Default = "XmSTRING"; };
3109                         XmNtextField;
3110                         XmNvalues;
3111                         ! undocumented resources
3112                         !XmNwrap;
3113                         };
3114 !
3115 ! Does the XmNtextField need to be defined in the Children/Controls
3116 !
3117                 Controls
3118                         {
3119                         XmTextField;
3120                         };
3121                 };
3122
3123
3124 \f
3125 ! Bulletin board inherits from XmManager. Its Dialog variant is treated
3126 ! as a subclass
3127
3128 Class
3129         XmBulletinBoard : Widget
3130                 {
3131                 SuperClass = XmManager;
3132                 ConvenienceFunction = XmCreateBulletinBoard;
3133                 Resources
3134                         {
3135                         ! new resources
3136                         XmNallowOverlap;
3137                         XmNautoUnmanage;
3138                         XmNbuttonFontList;
3139                         XmNcancelButton;
3140                         XmNdefaultButton;
3141                         XmNdefaultPosition;
3142                         XmNdialogStyle;
3143                         XmNdialogTitle;
3144                         XmNfocusCallback;
3145                         XmNlabelFontList;
3146                         XmNlosingFocusCallback;
3147                         XmNmapCallback;
3148                         XmNmarginHeight { Default = "10";};
3149                         XmNmarginWidth { Default = "10";};
3150                         XmNnoResize;
3151                         XmNresizePolicy{ Default = "XmRESIZE_ANY"; };
3152                         XmNshadowType { Default = "XmSHADOW_OUT";};
3153                         XmNtextFontList;
3154                         XmNtextTranslations;
3155                         XmNunmapCallback;
3156                         XmNbuttonRenderTable;
3157                         XmNlabelRenderTable;
3158                         XmNtextRenderTable;
3159                         ! inherited resources
3160                         };
3161                 Controls
3162                         {
3163                         AllWidgetsAndGadgets;
3164                         };
3165                 };
3166 Resource
3167         XmNallowOverlap : Argument
3168                 { Type = boolean;
3169                   Default = "True"; };
3170         XmNautoUnmanage : Argument
3171                 { Type = boolean;
3172                   Default = "True"; };
3173         XmNbuttonFontList : Argument
3174                 { Type = font_table;
3175                   Default = "dynamic"; };
3176         XmNcancelButton : Argument
3177                 { Type = widget_ref;
3178                   Default = "Null"; };
3179         XmNdefaultButton : Argument
3180                 { Type = widget_ref;
3181                   Default = "Null"; };
3182         XmNdefaultPosition: Argument
3183                 { Type = boolean;
3184                   Default = "True"; };
3185         XmNdialogStyle : Argument
3186                 { Type = integer;
3187                   EnumerationSet = DialogStyle;
3188                   Default = "dynamic"; };
3189         XmNdialogTitle : Argument
3190                 { Type = compound_string;
3191                   Default = "Null"; };
3192         XmNlabelFontList : Argument
3193                 { Type = font_table;
3194                   Default = "dynamic"; };
3195         XmNmapCallback : Reason
3196                 { };
3197         XmNnoResize : Argument
3198                 { Type = boolean;
3199                   Default = "False"; };
3200         XmNtextFontList : Argument
3201                 { Type = font_table;
3202                   Default = "dynamic"; };
3203         XmNtextTranslations : Argument
3204                 { Type = translation_table;
3205                   Default = "Null"; };
3206         XmNunmapCallback : Reason
3207                 { };
3208         XmNbuttonRenderTable : Argument
3209                 { Type = widget_ref;
3210                   Default = "dynamic"; };
3211         XmNlabelRenderTable : Argument
3212                 { Type = widget_ref;
3213                   Default = "dynamic"; };
3214         XmNtextRenderTable : Argument
3215                 { Type = widget_ref;
3216                   Default = "dynamic"; };
3217
3218 Class
3219         XmBulletinBoardDialog : Widget
3220                 {
3221                 SuperClass = XmBulletinBoard;
3222                 ParentClass = XmDialogShell;
3223                 ConvenienceFunction = XmCreateBulletinBoardDialog;
3224                 DialogClass = True;
3225                 Resources
3226                         {
3227                         ! new resources
3228                         ! inherited resources
3229                         };
3230                 Controls
3231                         {
3232                         AllWidgetsAndGadgets;
3233                         };
3234                 };
3235
3236
3237 \f
3238 ! RowColumn is instantiated as a number of different apparent widget
3239 ! classes. There is a UIL widget for each creation routine, which
3240 ! appears like a discrete class. All inherit from XmManager in fact,
3241 ! but are made to appear as subclasses of RowColumn to make resource
3242 ! specification easier
3243
3244 Class
3245         XmRowColumn : Widget
3246                 {
3247                 SuperClass = XmManager;
3248                 ConvenienceFunction = XmCreateRowColumn;
3249                 Resources
3250                         {
3251                         ! new resources
3252                         XmNadjustLast;
3253                         XmNadjustMargin;
3254                         XmNentryAlignment;
3255                         XmNentryBorder;
3256                         XmNentryCallback;
3257                         XmNentryClass;
3258                         XmNentryVerticalAlignment;
3259                         XmNisAligned;
3260                         XmNisHomogeneous;
3261                         XmNlabelString { Default = "Null"; };
3262                         XmNmapCallback;
3263                         XmNmarginHeight{ Default = "dynamic";};
3264                         XmNmarginWidth { Default = "3";};
3265                         XmNmenuAccelerator;
3266                         XmNmenuHelpWidget;
3267                         XmNmenuHistory;
3268                         XmNmenuPost;
3269                         XmNmnemonic { Default = "dynamic"; };
3270                         XmNmnemonicCharSet;
3271                         XmNnumColumns;
3272                         XmNorientation { Default = "dynamic"; };
3273                         XmNpacking;
3274                         XmNpopupEnabled;
3275                         XmNradioAlwaysOne;
3276                         XmNradioBehavior;
3277                         XmNresizeHeight { Default = "True"; };
3278                         XmNresizeWidth { Default = "True"; };
3279                         XmNrowColumnType;
3280                         XmNspacing { Default = "dynamic"; };
3281                         XmNsubMenuId { Default = "Null";};
3282                         XmNtearOffMenuActivateCallback;
3283                         XmNtearOffMenuDeactivateCallback;
3284                         XmNtearOffModel;
3285                         XmNtearOffTitle;
3286                         XmNunmapCallback;
3287                         XmNwhichButton;
3288                         ! constraint resources
3289                         XmNpositionIndex;
3290                         ! inherited resources
3291                         XmNborderWidth { Default = "0"; };
3292                         XmNheight { Default = "dynamic"; };
3293                         XmNnavigationType { Default = "dynamic"; };
3294                         XmNwidth { Default = "dynamic"; };
3295                         };
3296                 Controls
3297                         {
3298                         AllWidgetsAndGadgets;
3299                         };
3300                 };
3301
3302 Resource
3303         XmNadjustLast : Argument
3304                 { Type = boolean;
3305                   Default = "True"; };
3306         XmNadjustMargin : Argument
3307                 { Type = boolean;
3308                   Default = "True"; };
3309         XmNentryAlignment : Argument
3310                 { Type = integer;
3311                   EnumerationSet = Alignment;
3312                   Default = "dynamic"; };
3313         XmNentryBorder  : Argument
3314                 { Type = horizontal_float;
3315                   Default = "dynamic"; };
3316         XmNentryCallback : Reason
3317                 { };
3318         XmNentryClass   : Argument
3319                 { Type = class_rec_name;
3320                   Default = "dynamic"; };
3321         XmNentryVerticalAlignment : Argument
3322                 { Type = integer;
3323                   EnumerationSet = VerticalAlignment;
3324                   Default = "XmALIGNMENT_CENTER"; };
3325         XmNisAligned    : Argument
3326                 { Type = boolean;
3327                   Default = "True"; };
3328         XmNisHomogeneous        : Argument
3329                 { Type = boolean;
3330                   Default = "dynamic"; };
3331         XmNmenuAccelerator : Argument
3332                 { Type = string;
3333                   Default = "dynamic"; };
3334 !       XmNmenuTranslation : Argument
3335 !               { Type = translation_table;
3336 !                 Default = "NULL"; };
3337         XmNmenuHelpWidget : Argument
3338                 { Type = widget_ref;
3339                   Default = "Null"; };
3340         XmNmenuHistory  : Argument
3341                 { Type = widget_ref;
3342                   Default = "Null"; };
3343         XmNmenuPost     : Argument
3344                 { Type = string;
3345                   Default = "Null"; };
3346         XmNnumColumns   : Argument
3347                 { Type = integer;
3348                   Default = "dynamic"; };
3349         XmNpacking : Argument
3350                 { Type = integer;
3351                   EnumerationSet = Packing;
3352                   Default = "dynamic"; };
3353         XmNpopupEnabled : Argument
3354                 { Type = boolean;
3355                   Default = "True"; };
3356         XmNradioAlwaysOne : Argument
3357                 { Type = boolean;
3358                   Default = "True"; };
3359         XmNradioBehavior : Argument
3360                 { Type = boolean;
3361                   Default = "False"; };
3362         XmNrowColumnType : Argument
3363                 { Type = integer;
3364                   EnumerationSet = RowColumnType;
3365                   Default = "XmWORK_AREA"; };
3366         XmNtearOffMenuActivateCallback : Reason
3367                 { };
3368         XmNtearOffMenuDeactivateCallback : Reason
3369                 { };
3370         XmNtearOffModel : Argument
3371                 { Type = integer;
3372                   EnumerationSet = TearOffModel;
3373                   Default = "XmTEAR_OFF_DISABLED"; };
3374         XmNtearOffTitle : Argument
3375                 { Type = string;
3376                   Default = "NULL"; };
3377         XmNunpostBehavior : Argument
3378                 { Type = integer;
3379                   EnumerationSet = UnpostBehavior;
3380                   Default = "XmUNPOST_AND_REPLAY"; };
3381         XmNwhichButton : Argument
3382                 { Type = integer;
3383                   Default = "dynamic"; };
3384
3385 Class
3386         XmWorkArea : Widget
3387                 {
3388                 SuperClass = XmRowColumn;
3389                 ConvenienceFunction = XmCreateWorkArea;
3390                 Resources
3391                         {
3392                         ! new resources
3393                         ! inherited resources
3394                         };
3395                 Controls
3396                         {
3397                         AllWidgetsAndGadgets;
3398                         };
3399                 };
3400
3401
3402 Class
3403         XmMenuBar : Widget
3404                 {
3405                 SuperClass = XmRowColumn;
3406                 ConvenienceFunction = XmCreateMenuBar;
3407                 Resources
3408                         {
3409                         ! new resources
3410                         ! inherited resources
3411                         };
3412                 Controls
3413                         {
3414                         MenuWidgetsAndGadgets;
3415                         XmPopupMenu;
3416                         XmPulldownMenu;
3417                         };
3418                 };
3419
3420
3421 Class
3422         XmOptionMenu : Widget
3423                 {
3424                 SuperClass = XmRowColumn;
3425                 ConvenienceFunction = XmCreateOptionMenu;
3426                 ControlsMapToResource = XmNsubMenuId;
3427                 Resources
3428                         {
3429                         ! new resources
3430                         ! inherited resources
3431                         };
3432                 Controls
3433                         {
3434                         XmPulldownMenu;
3435                         };
3436                 Children
3437                         {
3438                         Xm_OptionLabel;
3439                         Xm_OptionButton;
3440                         };
3441                 };
3442
3443 Child
3444         Xm_OptionLabel  : XmLabelGadget;
3445         Xm_OptionButton : XmCascadeButtonGadget;
3446
3447 Class
3448         XmPopupMenu : Widget
3449                 {
3450                 SuperClass = XmRowColumn;
3451                 ParentClass = XmMenuShell;
3452                 ConvenienceFunction = XmCreatePopupMenu;
3453                 DialogClass = True;
3454                 Resources
3455                         {
3456                         ! new resources
3457                         ! inherited resources
3458                         };
3459                 Controls
3460                         {
3461                         MenuWidgetsAndGadgets;
3462                         };
3463                 Children
3464                         {
3465                         Xm_TearOffControl;
3466                         };
3467                 };
3468
3469 Child
3470         Xm_TearOffControl : XmTearOffButton;
3471
3472 Class
3473         XmPulldownMenu : Widget
3474                 {
3475                 SuperClass = XmRowColumn;
3476                 ParentClass = XmMenuShell;
3477                 ConvenienceFunction = XmCreatePulldownMenu;
3478                 DialogClass = True;
3479                 Resources
3480                         {
3481                         ! new resources
3482                         ! inherited resources
3483                         };
3484                 Controls
3485                         {
3486                         MenuWidgetsAndGadgets;
3487                         };
3488                 Children
3489                         {
3490                         Xm_TearOffControl;
3491                         };
3492                 };
3493
3494 Class
3495         XmRadioBox : Widget
3496                 {
3497                 SuperClass = XmRowColumn;
3498                 ConvenienceFunction = XmCreateRadioBox;
3499                 Resources
3500                         {
3501                         ! new resources
3502                         ! inherited resources
3503                         };
3504                 Controls
3505                         {
3506                         AllWidgetsAndGadgets;
3507                         };
3508                 };
3509
3510 !
3511 ! Fix for CR 5651 - add information for the CheckBox
3512 !
3513 Class
3514         XmCheckBox : Widget
3515                 {
3516                 SuperClass = XmRowColumn;
3517                 ConvenienceFunction = XmCreateSimpleCheckBox;
3518                 Resources
3519                         {
3520                         XmNbuttonCount;
3521                         XmNbuttons;
3522                         XmNsimpleCallback;
3523                         };
3524                 Controls
3525                         {
3526                         AllWidgetsAndGadgets;
3527                         };
3528                 };
3529 Resource
3530         XmNbuttons : Argument
3531                 { Type = string_table;
3532                   Default = "NULL";
3533                   Related = XmNbuttonCount; };
3534         XmNbuttonCount : Argument
3535                 { Type = integer;
3536                   Default = "0"; };
3537         XmNsimpleCallback : Reason
3538                 { };
3539 !
3540 ! End Fix for CR 5651
3541 !
3542
3543 \f
3544 ! Immediate subclasses of XmScrolledWindow
3545
3546 Class
3547         XmMainWindow : Widget
3548                 {
3549                 SuperClass = XmScrolledWindow;
3550                 ConvenienceFunction = XmCreateMainWindow;
3551                 DialogClass = True;
3552                 Resources
3553                         {
3554                         ! new resources
3555                         XmNcommandWindow;
3556                         XmNcommandWindowLocation;
3557                         XmNmainWindowMarginHeight;
3558                         XmNmainWindowMarginWidth;
3559                         XmNmenuBar;
3560                         XmNmessageWindow;
3561                         XmNshowSeparator;
3562                         ! inherited constraint resources
3563                         XmNscrolledWindowChildType;
3564                         };
3565                 Controls
3566                         {
3567                         AllWidgetsAndGadgets;
3568                         };
3569                 Children
3570                         {
3571                         Xm_Separator1;                  
3572                         Xm_Separator2;
3573                         Xm_Separator3;
3574                         };
3575                 };
3576 Child
3577         Xm_Separator1 : XmSeparator;
3578         Xm_Separator2 : XmSeparator;
3579         Xm_Separator3 : XmSeparator;
3580
3581 Resource
3582         XmNcommandWindow : Argument
3583                 { Type = widget_ref;
3584                   Default = "Null"; };
3585         XmNcommandWindowLocation : Argument
3586                 { Type = integer;
3587                   EnumerationSet = CommandWindowLocation;
3588                   Default = "XmCOMMAND_ABOVE_WORKSPACE"; };
3589         XmNmainWindowMarginHeight : Argument
3590                 { Type = vertical_float;
3591                   Default = "0"; };
3592         XmNmainWindowMarginWidth : Argument
3593                 { Type = horizontal_float;
3594                   Default = "0"; };
3595         XmNmenuBar : Argument
3596                 { Type = widget_ref;
3597                   Default = "Null"; };
3598         XmNmessageWindow : Argument
3599                 { Type = widget_ref;
3600                   Default = "Null"; };
3601         XmNshowSeparator : Argument
3602                 { Type = boolean;
3603                   Default = "False"; };
3604
3605 \f
3606 ! Immediate subclasses of XmBulletinBoard
3607 ! For each class, the Dialog variant is treated as a subclass
3608
3609 Class
3610         XmForm : Widget
3611                 {
3612                 SuperClass = XmBulletinBoard;
3613                 ConvenienceFunction = XmCreateForm;
3614                 Resources
3615                         {
3616                         ! new resources
3617                         XmNfractionBase;
3618                         XmNhorizontalSpacing;
3619                         XmNrubberPositioning;
3620                         XmNverticalSpacing;
3621                         ! constraint resources
3622                         XmNbottomAttachment;
3623                         XmNbottomOffset;
3624                         XmNbottomPosition;
3625                         XmNbottomWidget;
3626                         XmNleftAttachment;
3627                         XmNleftOffset;
3628                         XmNleftPosition;
3629                         XmNleftWidget;
3630                         XmNresizable;
3631                         XmNrightAttachment;
3632                         XmNrightOffset;
3633                         XmNrightPosition;
3634                         XmNrightWidget;
3635                         XmNtopAttachment;
3636                         XmNtopOffset;
3637                         XmNtopPosition;
3638                         XmNtopWidget;
3639                         ! inherited resources
3640                         };                      
3641                 Controls
3642                         {
3643                         AllWidgetsAndGadgets;
3644                         };
3645                 };
3646 Resource
3647         XmNfractionBase : Argument
3648                 { Type = integer;
3649                   Default = "100"; };
3650         XmNhorizontalSpacing : Argument
3651                 { Type = horizontal_float;
3652                   Default = "0"; };
3653         XmNverticalSpacing : Argument
3654                 { Type = vertical_float;
3655                   Default = "0"; };
3656         XmNrubberPositioning : Argument
3657                 { Type = boolean;
3658                   Default = "False"; };
3659 ! constraints
3660         XmNbottomAttachment : Constraint
3661                 { Type = integer;
3662                   EnumerationSet = Attachment;
3663                   Default = "XmATTACH_NONE"; };
3664         XmNbottomOffset : Constraint
3665                 { Type = vertical_float;
3666                   Default = "0"; };
3667         XmNbottomPosition : Constraint
3668                 { Type = integer;
3669                   Default = "0"; };
3670         XmNbottomWidget : Constraint
3671                 { Type = widget_ref;
3672                   Default = "Null"; };
3673         XmNleftAttachment : Constraint
3674                 { Type = integer;
3675                   EnumerationSet = Attachment;
3676                   Default = "XmATTACH_NONE"; };
3677         XmNleftOffset : Constraint
3678                 { Type = horizontal_float;
3679                   Default = "0"; };
3680         XmNleftPosition : Constraint
3681                 { Type = integer;
3682                   Default = "0"; };
3683         XmNleftWidget : Constraint
3684                 { Type = widget_ref;
3685                   Default = "Null"; };
3686         XmNresizable : Constraint
3687                 { Type = boolean;
3688                   Default = "True"; };
3689         XmNrightAttachment : Constraint
3690                 { Type = integer;
3691                   EnumerationSet = Attachment;
3692                   Default = "XmATTACH_NONE"; };
3693         XmNrightOffset : Constraint
3694                 { Type = horizontal_float;
3695                   Default = "0"; };
3696         XmNrightPosition : Constraint
3697                 { Type = integer;
3698                   Default = "0"; };
3699         XmNrightWidget : Constraint
3700                 { Type = widget_ref;
3701                   Default = "Null"; };
3702         XmNtopAttachment : Constraint
3703                 { Type = integer;
3704                   EnumerationSet = Attachment;
3705                   Default = "XmATTACH_NONE"; };
3706         XmNtopOffset : Constraint
3707                 { Type = vertical_float;
3708                   Default = "0"; };
3709         XmNtopWidget : Constraint
3710                 { Type = widget_ref;
3711                   Default = "Null"; };
3712         XmNtopPosition : Constraint
3713                 { Type = integer;
3714                   Default = "0"; };
3715
3716 Class
3717         XmFormDialog : Widget
3718                 {
3719                 SuperClass = XmForm;
3720                 ParentClass = XmDialogShell;
3721                 ConvenienceFunction = XmCreateFormDialog;
3722                 DialogClass = True;
3723                 Resources
3724                         {
3725                         ! new resources
3726                         ! inherited resources
3727                         };
3728                 Controls
3729                         {
3730                         AllWidgetsAndGadgets;
3731                         };
3732                 };
3733
3734
3735 \f
3736 ! Immediate subclass of XmBulletinBoard
3737
3738 ! Most Dialogs are variants of MessageBox, and are treated as subclasses.
3739
3740 Class
3741         XmMessageBox : Widget
3742                 {
3743                 SuperClass = XmBulletinBoard;
3744                 ConvenienceFunction = XmCreateMessageBox;
3745                 Resources
3746                         {
3747                         ! new resources
3748                         XmNcancelCallback;
3749                         XmNcancelLabelString;
3750                         XmNdefaultButtonType;
3751                         XmNdialogType;
3752                         XmNhelpLabelString;
3753                         XmNmessageAlignment;
3754                         XmNmessageString;
3755                         XmNminimizeButtons;
3756                         XmNokCallback;
3757                         XmNokLabelString;
3758                         XmNsymbolPixmap;
3759                         ! inherited resources
3760                         };
3761                 Controls
3762                         {
3763                         AllWidgetsAndGadgets;
3764                         };
3765                 Children
3766                         {
3767                         Xm_Symbol;
3768                         Xm_Separator;
3769                         Xm_Message;
3770                         Xm_OK;
3771                         Xm_Cancel;
3772                         Xm_Help;
3773                         };
3774                 };
3775 Child
3776         Xm_Symbol : XmLabel;
3777         Xm_Separator : XmSeparator;
3778         Xm_Message : XmLabel;
3779         Xm_OK : XmPushButton;
3780         Xm_Cancel : XmPushButton;
3781         Xm_Help : XmPushButton;
3782
3783 Resource
3784         XmNcancelCallback : Reason
3785                 { };
3786         XmNcancelLabelString : Argument
3787                 { Type = compound_string;
3788                   Default = "Cancel"; };
3789         XmNdefaultButtonType : Argument
3790                 { Type = integer;
3791                   EnumerationSet = DefaultButtonType;
3792                   Default = "XmDIALOG_OK_BUTTON"; };
3793         XmNdialogType : Argument
3794                 { Type = integer;
3795                   EnumerationSet = DialogType;
3796                   Default = "XmDIALOG_MESSAGE"; };
3797         XmNhelpLabelString : Argument
3798                 { Type = compound_string;
3799                   Default = "Help"; };
3800         XmNmessageAlignment : Argument
3801                 { Type = integer;
3802                   EnumerationSet = Alignment;
3803                   Default = "XmALIGNMENT_BEGINNING"; };
3804         XmNmessageString : Argument
3805                 { Type = compound_string;
3806                   Default = "Null"; };
3807         XmNminimizeButtons : Argument
3808                 { Type = boolean;
3809                   Default = "False"; };
3810         XmNokCallback : Reason
3811                 { };
3812         XmNokLabelString : Argument
3813                 { Type = compound_string;
3814                   Default = "OK"; };
3815         XmNsymbolPixmap : Argument
3816                 { Type = pixmap;
3817                   Default = "XmDEFAULT_PIXMAP"; };
3818
3819
3820 Class
3821         XmMessageDialog : Widget
3822                 {
3823                 SuperClass = XmMessageBox;
3824                 ParentClass = XmDialogShell; 
3825                 ConvenienceFunction = XmCreateMessageDialog;
3826                 DialogClass = True;
3827                 Resources
3828                         {
3829                         ! new resources
3830                         ! inherited resources
3831                         };
3832                 Controls
3833                         {
3834                         AllWidgetsAndGadgets;
3835                         };
3836                 };
3837
3838
3839 Class
3840         XmErrorDialog : Widget
3841                 {
3842                 SuperClass = XmMessageDialog;
3843                 ConvenienceFunction = XmCreateErrorDialog;
3844                 Resources
3845                         {
3846                         ! new resources
3847                         ! inherited resources
3848                         };
3849                 Controls
3850                         {
3851                         AllWidgetsAndGadgets;
3852                         };
3853                 };
3854
3855
3856 Class
3857         XmInformationDialog : Widget
3858                 {
3859                 SuperClass = XmMessageDialog;
3860                 ConvenienceFunction = XmCreateInformationDialog;
3861                 Resources
3862                         {
3863                         ! new resources
3864                         ! inherited resources
3865                         };
3866                 Controls
3867                         {
3868                         AllWidgetsAndGadgets;
3869                         };
3870                 };
3871
3872
3873 Class
3874         XmQuestionDialog : Widget
3875                 {
3876                 SuperClass = XmMessageDialog;
3877                 ConvenienceFunction = XmCreateQuestionDialog;
3878                 Resources
3879                         {
3880                         ! new resources
3881                         ! inherited resources
3882                         };
3883                 Controls
3884                         {
3885                         AllWidgetsAndGadgets;
3886                         };
3887                 };
3888
3889 Class
3890         XmTemplateDialog : Widget
3891                 {
3892                 SuperClass = XmMessageDialog;
3893                 ConvenienceFunction = XmCreateTemplateDialog;
3894                 Resources
3895                         {
3896                         ! new resources
3897                         ! inherited resources
3898                         };
3899                 Controls
3900                         {
3901                         AllWidgetsAndGadgets;
3902                         };
3903                 };
3904
3905 Class
3906         XmWarningDialog : Widget
3907                 {
3908                 SuperClass = XmMessageDialog;
3909                 ConvenienceFunction = XmCreateWarningDialog;
3910                 Resources
3911                         {
3912                         ! new resources
3913                         ! inherited resources
3914                         };
3915                 Controls
3916                         {
3917                         AllWidgetsAndGadgets;
3918                         };
3919                 };
3920
3921
3922 Class
3923         XmWorkingDialog : Widget
3924                 {
3925                 SuperClass = XmMessageDialog;
3926                 ConvenienceFunction = XmCreateWorkingDialog;
3927                 Resources
3928                         {
3929                         ! new resources
3930                         ! inherited resources
3931                         };
3932                 Controls
3933                         {
3934                         AllWidgetsAndGadgets;
3935                         };
3936                 };
3937
3938
3939 \f
3940 ! Immediate subclass of XmBulletinBoard
3941
3942 ! Dialog variants are treated as subclasses
3943
3944 Class
3945         XmSelectionBox : Widget
3946                 {
3947                 SuperClass = XmBulletinBoard;
3948                 ConvenienceFunction = XmCreateSelectionBox;
3949                 Resources
3950                         {
3951                         ! new resources
3952                         XmNapplyCallback;
3953                         XmNapplyLabelString;
3954                         XmNcancelCallback;
3955                         XmNcancelLabelString { Default = "cancel"; };
3956                         XmNdialogType { Default = "dynamic"; };
3957                         XmNhelpLabelString { Default = "help"; };
3958                         XmNlistItemCount;
3959                         XmNlistItems;
3960                         XmNlistLabelString;
3961                         XmNlistVisibleItemCount;
3962                         XmNminimizeButtons { Default = "False"; };
3963                         XmNmustMatch;
3964                         XmNnoMatchCallback;
3965                         XmNokCallback;
3966                         XmNokLabelString;
3967                         XmNselectionLabelString;
3968                         XmNtextAccelerators;
3969                         XmNtextColumns;
3970                         XmNtextString;
3971                         XmNchildPlacement;
3972                         ! inherited resources
3973                         };
3974                 Controls
3975                         {
3976                         AllWidgetsAndGadgets;
3977                         };
3978                 Children
3979                         {
3980                         Xm_Items;
3981                         Xm_ItemsList;
3982                         Xm_Selection;
3983                         Xm_Text;
3984                         Xm_Separator;
3985                         Xm_OK;
3986                         Xm_Cancel;
3987                         Xm_Help;
3988                         Xm_Apply;
3989                         };
3990                 };
3991 Child
3992         Xm_Items                        : XmLabel;
3993         Xm_ItemsList                    : XmScrolledList;
3994         Xm_Selection                    : XmLabel;
3995         Xm_Text                         : XmText;       
3996         Xm_Apply                        : XmPushButton;
3997
3998 Resource
3999         XmNapplyCallback : Reason
4000                 { };
4001         XmNapplyLabelString : Argument
4002                 { Type = compound_string;
4003                   Default = "Apply"; };
4004         XmNlistItemCount : Argument
4005                 { Type = integer;
4006                   Default = "0"; };
4007         XmNlistItems : Argument
4008                 { Type = string_table;
4009                   Default = "Null"; 
4010                   Related = XmNlistItemCount; };
4011         XmNlistLabelString : Argument
4012                 { Type = compound_string;
4013                   Default = "Null"; };
4014         XmNlistVisibleItemCount : Argument
4015                 { Type = integer;
4016                   Default = "8"; };
4017         XmNmustMatch : Argument
4018                 { Type = boolean;
4019                   Default = "False"; };
4020         XmNnoMatchCallback: Reason
4021                 { };
4022         XmNselectionLabelString : Argument
4023                 { Type = compound_string;
4024                   Default = "Selection"; };
4025         XmNtextAccelerators : Argument
4026                 { Type = translation_table;
4027                   Default = ""; };
4028         XmNtextColumns : Argument
4029                 { Type = integer;
4030                   Default = "20"; };
4031         XmNtextString : Argument
4032                 { Type = compound_string;
4033                   Default = "Null"; };
4034         XmNchildPlacement : Constraint
4035                 { Type = integer;
4036                   EnumerationSet = ChildPlacement;
4037                   Default = "XmPLACE_ABOVE_SELECTION"; };
4038
4039 Class
4040         XmSelectionDialog : Widget
4041                 {
4042                 SuperClass = XmSelectionBox;
4043                 ParentClass = XmDialogShell; 
4044                 ConvenienceFunction = XmCreateSelectionDialog;
4045                 DialogClass = True;
4046                 Resources
4047                         {
4048                         ! new resources
4049                         ! inherited resources
4050                         };
4051                 Controls
4052                         {
4053                         AllWidgetsAndGadgets;
4054                         };
4055                 };
4056
4057
4058 Class
4059         XmPromptDialog : Widget
4060                 {
4061                 SuperClass = XmSelectionBox;
4062                 ParentClass = XmDialogShell; 
4063                 ConvenienceFunction = XmCreatePromptDialog;
4064                 DialogClass = True;
4065                 Resources
4066                         {
4067                         ! new resources
4068                         ! inherited resources
4069                         };
4070                 Controls
4071                         {
4072                         AllWidgetsAndGadgets;
4073                         };
4074                 };
4075
4076
4077 \f
4078 ! Immediate subclasses of XmSelectionBox
4079
4080 Class
4081         XmCommand : Widget
4082                 {
4083                 SuperClass = XmSelectionBox;
4084                 ConvenienceFunction = XmCreateCommand;
4085                 Resources
4086                         {
4087                         ! new resources
4088                         XmNcommand;
4089                         XmNcommandChangedCallback;
4090                         XmNcommandEnteredCallback;
4091                         XmNhistoryItems;
4092                         XmNhistoryItemCount;
4093                         XmNhistoryMaxItems;
4094                         XmNhistoryVisibleItemCount;
4095                         XmNpromptString;
4096                         ! inherited resources
4097                         XmNapplyCallback { Exclude = True; };
4098                         XmNapplyLabelString { Exclude = True; };
4099                         XmNautoUnmanage {Exclude = True;};
4100                         XmNcancelCallback { Exclude = True; };
4101                         XmNcancelLabelString { Exclude = True; };
4102                         XmNhelpLabelString { Exclude = True; };
4103                         XmNlistLabelString { Exclude = True; };
4104                         XmNminimizeButtons { Exclude = True; };
4105                         XmNmustMatch { Exclude = True; };
4106                         XmNnoMatchCallback { Exclude = True; };
4107                         XmNokCallback { Exclude = True; };
4108                         XmNokLabelString { Exclude = True; };
4109                         XmNallowOverlap { Exclude = True; };
4110                         XmNbuttonFontList { Exclude = True; };
4111                         XmNcancelButton { Exclude = True; };
4112                         XmNdefaultButton { Exclude = True; };
4113                         XmNdialogType { Default = "XmDIALOG_COMMAND"; };
4114                         };
4115                 Controls
4116                         {
4117                         XmPopupMenu;
4118                         };
4119                 };
4120 Resource
4121         XmNcommand : Argument
4122                 { Type = compound_string;
4123                   Default = "Null"; };
4124         XmNcommandChangedCallback : Reason
4125                 { };
4126         XmNcommandEnteredCallback : Reason    
4127                 { };
4128         XmNhistoryItems : Argument
4129                 { Type = string_table;
4130                   Default = "Null";
4131                   Related = XmNhistoryItemCount; };
4132         XmNhistoryItemCount : Argument
4133                 { Type = integer;
4134                   Default = "0"; };
4135         XmNhistoryMaxItems : Argument
4136                 { Type = integer;
4137                   Default = "100"; };
4138         XmNhistoryVisibleItemCount : Argument
4139                 { Type = integer;
4140                   Default = "8"; };
4141         XmNpromptString : Argument
4142                 { Type = compound_string;
4143                   Default = ">"; };
4144     
4145 Class
4146         XmCommandDialog : Widget
4147                 {
4148                 SuperClass = XmCommand;
4149                 ParentClass = XmDialogShell;
4150                 ConvenienceFunction = XmCreateCommandDialog;
4151                 DialogClass = True;
4152                 Resources
4153                         {
4154                         ! new resources
4155                         ! inherited resources
4156                         };
4157                 Controls
4158                         {
4159                         AllWidgetsAndGadgets;
4160                         };
4161                 };
4162
4163
4164 \f
4165 ! Immediate subclass of SelectionBox
4166 ! The Dialog variant is treated as a subclass
4167
4168 Class
4169         XmFileSelectionBox : Widget
4170                 {
4171                 SuperClass = XmSelectionBox;
4172                 ConvenienceFunction = XmCreateFileSelectionBox;
4173                 Resources
4174                         {
4175                         ! new resources
4176                         XmNdirMask;
4177                         XmNdirSpec;
4178                         XmNfileSearchProc;
4179                         XmNfileTypeMask;
4180                         XmNfilterLabelString;
4181                         XmNlistUpdated;
4182                         XmNdirectory;
4183                         XmNdirectoryValid;
4184                         XmNpattern;
4185                         XmNdirListLabelString;
4186                         XmNdirListItems;
4187                         XmNdirListItemCount;
4188                         XmNfileListItemCount;
4189                         XmNfileListItems;
4190                         XmNnoMatchString;
4191                         XmNqualifySearchDataProc;
4192                         XmNdirSearchProc;
4193                         XmNfileListLabelString;
4194                         ! inherited resources
4195                         XmNapplyLabelString { Default = "Filter"; };
4196                         XmNlistLabelString { Default = "Files"; };
4197                         };
4198                 Controls
4199                         {
4200                         AllWidgetsAndGadgets;
4201                         };
4202                 Children
4203                         {
4204                         Xm_FilterLabel;
4205                         Xm_FilterText;
4206                         Xm_DirList;
4207                         Xm_Dir;
4208                         Xm_Filter;
4209                         };
4210                 };
4211 Child
4212         Xm_FilterLabel                  : XmLabel;
4213         Xm_FilterText                   : XmText;
4214         Xm_DirList                      : XmScrolledList;
4215         Xm_Dir                          : XmLabel;
4216         Xm_Filter                       : XmPushButton;
4217
4218 Resource
4219         XmNdirMask : Argument
4220                 { Type = compound_string;
4221                   Default = "*"; };
4222         XmNdirSpec : Argument
4223                 { Type = compound_string;
4224                   Default = "Null"; };
4225         XmNfileSearchProc : Argument
4226                 { Type = any;
4227                   Default = "default"; };
4228         XmNfilterLabelString : Argument
4229                 { Type = compound_string;
4230                   Default = "File Filter"; };
4231         XmNlistUpdated : Argument
4232                 { Type = boolean;
4233                   Default = "True"; };
4234         XmNfileTypeMask : Argument
4235                 { Type = integer;
4236                   EnumerationSet = FileTypeMask;
4237                   Default = "XmFILE_REGULAR"; };
4238         XmNdirectory: Argument
4239                 { Type = compound_string;
4240                   Default = "current working directory"; };
4241         XmNdirectoryValid : Argument
4242                 { Type = boolean;
4243                   Default = "True"; };
4244         XmNpattern: Argument
4245                 { Type = compound_string;
4246                   Default = "*"; };
4247         XmNdirListLabelString: Argument
4248                 { Type = compound_string;
4249                   Default = "Directories"; };
4250         XmNdirListItemCount : Argument
4251                 { Type = integer;
4252                   Default = "0"; };
4253         XmNdirListItems : Argument
4254                 { Type = string_table;
4255                   Default = "dynamic"; 
4256                   Related = XmNdirListItemCount; };
4257         XmNfileListItemCount : Argument
4258                 { Type = integer;
4259                   Default = "0"; };
4260         XmNfileListItems : Argument
4261                 { Type = string_table;
4262                   Default = "NULL"; 
4263                   Related = XmNfileListItemCount; };
4264         XmNnoMatchString: Argument
4265                 { Type = compound_string;
4266                   Default = " [    ] "; };
4267         XmNqualifySearchDataProc : Argument
4268                 { Type = any;
4269                   Default = "default"; };
4270         XmNdirSearchProc : Argument
4271                 { Type = any;
4272                   Default = "default"; };
4273         XmNfileListLabelString: Argument
4274                 { Type = compound_string;
4275                   Default = "Files"; };
4276
4277 Class
4278         XmFileSelectionDialog : Widget
4279                 {
4280                 SuperClass = XmFileSelectionBox;
4281                 ParentClass = XmDialogShell;
4282                 ConvenienceFunction = XmCreateFileSelectionDialog;
4283                 DialogClass = True;
4284                 Resources
4285                         {
4286                         ! new resources
4287                         ! inherited resources
4288                         };
4289                 Controls
4290                         {
4291                         AllWidgetsAndGadgets;
4292                         };
4293                 };
4294
4295 \f
4296 ! pseudo-classes for renditions
4297 Class
4298         XmRenderTable : Widget
4299                 {
4300                 SuperClass = Object;
4301                 ConvenienceFunction = _XmCreateRenderTable;
4302                 Controls
4303                         {
4304                         XmRendition;
4305                         };
4306                 };
4307
4308 Class
4309         XmRendition : Widget
4310                 {
4311                 SuperClass = Object;
4312                 ConvenienceFunction = _XmCreateRendition;
4313                 Resources
4314                         {
4315                         XmNfontName;
4316                         XmNfontType;
4317                         XmNloadModel;
4318                         XmNfont;
4319                         XmNrenditionBackground;
4320                         XmNrenditionForeground;
4321                         XmNunderlineType;
4322                         XmNstrikethruType;
4323                         };
4324                 Controls
4325                         {
4326                         XmTabList;
4327                         };
4328                 };
4329
4330 Resource
4331         XmNfontName : Argument
4332                  { Type = string;
4333                    Default = "XmAS_IS"; };
4334         XmNfontType : Argument
4335                  { Type = integer;
4336                    EnumerationSet = FontType;
4337                    Default = "XmAS_IS"; };
4338         XmNloadModel : Argument
4339                  { Type = integer;
4340                    EnumerationSet = LoadModel;
4341                    Default = "XmAS_IS"; };
4342         XmNfont : Argument
4343                  { Type = font;
4344                    Default = "XmAS_IS"; };
4345         XmNrenditionBackground : Argument
4346                 { Type = color;
4347                   Default = "XmUNSPECIFIED_PIXEL"; };
4348         XmNrenditionForeground : Argument
4349                 { Type = color;
4350                   Default = "XmUNSPECIFIED_PIXEL"; };
4351         XmNunderlineType : Argument
4352                  { Type = integer;
4353                    EnumerationSet = LineType;
4354                    Default = "XmAS_IS"; };
4355         XmNstrikethruType : Argument
4356                  { Type = integer;
4357                    EnumerationSet = LineType;
4358                    Default = "XmAS_IS"; };
4359
4360 Class
4361         XmTabList : Widget
4362                 {
4363                 SuperClass = Object;
4364                 ConvenienceFunction = _XmCreateTabList;
4365                 Controls
4366                         {
4367                         XmTab;
4368                         };
4369                 };
4370
4371 Class
4372         XmTab : Widget
4373                 {
4374                 SuperClass = Object;
4375                 ConvenienceFunction = _XmCreateTab;
4376                 Resources
4377                         {
4378                         XmNtabValue;
4379                         XmNunitType;
4380                         XmNoffsetModel;
4381                         XmNalignment { Default = "XmALIGNMENT_BEGINNING"; };
4382                         XmNdecimal;
4383                         };
4384                 };
4385
4386 Resource
4387         XmNtabValue : Argument
4388                 { Type = float;
4389                   Default = "0.0"; };
4390         XmNoffsetModel : Argument
4391                 { Type = integer;
4392                   EnumerationSet = OffsetModel;
4393                   Default = "XmABSOLUTE"; };
4394         XmNdecimal : Argument
4395                 { Type = string;
4396                   Default = "."; };
4397
4398 \f
4399 ! the user-defined class
4400 Class
4401         user_defined : Widget
4402                 {
4403                 ConvenienceFunction = user_defined ;
4404                 Controls
4405                         {
4406                         AllWidgetsAndGadgets;
4407                         };
4408                 };
4409
4410 ! Fake resource for COMPOUND_STRING_COMPONENT
4411 Resource
4412         XmStringComponent : Argument
4413                 { Type = integer;
4414                   EnumerationSet = CompoundStringComponent; };
4415
4416
4417 !
4418 ! Dt Enumeration Sets
4419 !
4420 EnumerationSet
4421         DtCharCursorStyle : integer
4422                 { DtTERM_CHAR_CURSOR_BOX;
4423                   DtTERM_CHAR_CURSOR_BAR;
4424                   DtTERM_CHAR_CURSOR_INVISIBLE; };
4425         DtExecutionPolicy : integer
4426                 { DtHELP_EXECUTE_NONE;
4427                   DtHELP_EXECUTE_QUERY_ALL;
4428                   DtHELP_EXECUTE_QUERY_UNALIASED;
4429                   DtHELP_EXECUTE_ALL; };
4430         DtHelpType : integer
4431                 { DtHELP_TYPE_TOPIC;
4432                   DtHELP_TYPE_STRING;
4433                   DtHELP_TYPE_MAN_PAGE;
4434                   DtHELP_TYPE_FILE;
4435                   DtHELP_TYPE_DYNAMIC_STRING; };
4436         DtPaperSize : integer
4437                 { DtHELP_PAPERSIZE_LETTER;
4438                   DtHELP_PAPERSIZE_LEGAL;
4439                   DtHELP_PAPERSIZE_EXECUTIVE;
4440                   DtHELP_PAPERSIZE_A4;
4441                   DtHELP_PAPERSIZE_B5; };
4442         DtPrintDestination : integer
4443                 { DtPRINT_NO_DESTINATION;
4444                   DtPRINT_TO_PRINTER;
4445                   DtPRINT_TO_FILE; };
4446         DtPrinterNameMode : integer
4447                 { DtSHORT_NAME;
4448                   DtMEDIUM_NAME;
4449                   DtLONG_NAME; };
4450         DtPrinterResetConnectionMode : integer
4451                 { DtPRINT_CLOSE_CONNECTION;
4452                   DtPRINT_RELEASE_CONNECTION; };
4453         DtScrollBarPolicy : integer
4454                 { DtHELP_NO_SCROLLBARS;
4455                   DtHELP_STATIC_SCROLLBARS;
4456                   DtHELP_AS_NEEDED_SCROLLBARS; };
4457         DtShadowType : integer
4458                 { DtSHADOW_IN;
4459                   DtSHADOW_OUT;
4460                   DtSHADOW_ETCHED_IN;
4461                   DtSHADOW_ETCHED_OUT; };
4462         DtSetupMode : integer
4463                 { DtPRINT_SETUP_PLAIN;
4464                   DtPRINT_SETUP_XP; };
4465         DtWorkAreaLocation : integer
4466                 { DtWORK_AREA_NONE;
4467                   DtWORK_AREA_TOP;
4468                   DtWORK_AREA_TOP_AND_BOTTOM;
4469                   DtWORK_AREA_BOTTOM; };
4470
4471 !
4472 ! Dt Widgets
4473 !
4474 Class
4475         DtEditor : Widget
4476                 {
4477                 SuperClass = XmForm;
4478                 ConvenienceFunction = DtCreateEditor;
4479                 Resources
4480                         {
4481                         ! new resources
4482                         DtNautoShowCursorPosition;
4483                         DtNbuttonFontList;
4484                         DtNblinkRate { Default = "500"; };
4485                         DtNcenterToggleLabel;
4486                         DtNchangeAllButtonLabel;
4487                         DtNchangeButtonLabel;
4488                         DtNchangeFieldLabel;
4489                         DtNcolumns;
4490                         DtNcurrentLineLabel;
4491                         DtNcursorPosition;
4492                         DtNcursorPositionVisible;
4493                         DtNdialogTitle;
4494                         DtNeditable;
4495                         DtNfindButtonLabel;
4496                         DtNfindChangeDialogTitle;
4497                         DtNfindFieldLabel;
4498                         DtNformatAllButtonLabel;
4499                         DtNformatParagraphButtonLabel;
4500                         DtNformatSettingsDialogTitle;
4501                         DtNinformationDialogTitle;
4502                         DtNinsertLabel;
4503                         DtNjustifyToggleLabel;
4504                         DtNlabelFontList;
4505                         DtNleftAlignToggleLabel;
4506                         DtNleftMarginFieldLabel;
4507                         DtNmaxLength;
4508                         DtNmisspelledListLabel;
4509                         DtNoverstrike;
4510                         DtNoverstrikeLabel;
4511                         DtNrightAlignToggleLabel;
4512                         DtNrightMarginFieldLabel;
4513                         DtNrows;
4514                         DtNscrollHorizontal;
4515                         DtNscrollLeftSide;
4516                         DtNscrollTopSide;
4517                         DtNscrollVertical;
4518                         DtNshowStatusLine;
4519                         DtNspellDialogTitle;
4520                         DtNspellFilter;
4521                         DtNtextBackground;
4522                         DtNtextDeselectCallback;
4523                         DtNtextForeground;
4524                         DtNtextFontList;
4525                         DtNtextSelectCallback;
4526                         DtNtextTranslations;
4527                         DtNtopCharacter;
4528                         DtNtotalLineCountLabel;
4529                         DtNwordWrap;
4530                         ! inherited resources
4531                         };
4532                 Controls
4533                         {
4534                         AllWidgetsAndGadgets;
4535                         };
4536                 };
4537
4538 Class
4539         DtHelpDialog : Widget
4540                 {
4541                 SuperClass = XmBulletinBoard;
4542                 ParentClass = XmDialogShell;
4543                 ConvenienceFunction = DtCreateHelpDialog;
4544                 DialogClass = True;
4545                 Resources
4546                         {
4547                         ! new resources
4548                         DtNcloseCallback;
4549                         DtNcolumns { Default = "70"; };
4550                         DtNexecutionPolicy;
4551                         DtNhelpFile;
4552                         DtNhelpOnHelpVolume;
4553                         DtNhelpPrint;
4554                         DtNhelpType;
4555                         DtNhelpVolume;
4556                         DtNhyperLinkCallback;
4557                         DtNlocationId;
4558                         DtNmanPage;
4559                         DtNmarginWidth;
4560                         DtNmarginHeight;
4561                         DtNpaperSize;
4562                         DtNprinter;
4563                         DtNrows { Default = "25"; };
4564                         DtNscrollBarPolicy;
4565                         DtNshowNewWindowButton;
4566                         DtNstringData;
4567                         DtNtopicTitle;
4568                         DtNvisiblePathCount;
4569
4570                         ! private resources
4571                         ! DtNshowTopLevelButton;
4572                         ! DtNsrchHitPrefixFont;
4573
4574                         ! inherited resources
4575                         XmNnavigationType { Default = "dynamic"; };
4576                         };
4577                 Controls
4578                         {
4579                         AllWidgetsAndGadgets;
4580                         };
4581                 };
4582
4583 Class
4584         DtHelpQuickDialog : Widget
4585                 {
4586                 SuperClass = XmBulletinBoard;
4587                 ParentClass = XmDialogShell;
4588                 ConvenienceFunction = DtCreateHelpQuickDialog;
4589                 DialogClass = True;
4590                 Resources
4591                         {
4592                         ! new resources
4593                         DtNbackLabelString;
4594                         DtNcloseCallback;
4595                         DtNcloseLabelString;
4596                         DtNcolumns { Default = "50"; };
4597                         DtNexecutionPolicy;
4598                         DtNhelpFile;
4599                         DtNhelpLabelString;
4600                         DtNhelpOnHelpVolume;
4601                         DtNhelpPrint;
4602                         DtNhelpVolume;
4603                         DtNhelpType;
4604                         DtNhyperLinkCallback;
4605                         DtNlocationId;
4606                         DtNmanPage;
4607                         DtNminimizeButtons;
4608                         DtNmoreLabelString;
4609                         DtNpaperSize;
4610                         DtNprinter;
4611                         DtNprintLabelString;
4612                         DtNrows { Default = "15"; };
4613                         DtNscrollBarPolicy;
4614                         DtNstringData;
4615                         DtNtopicTitle;
4616                         ! inherited resources
4617                         XmNnavigationType { Default = "dynamic"; };
4618                         };
4619                 Controls
4620                         {
4621                         AllWidgetsAndGadgets;
4622                         };
4623                 };
4624
4625 Class
4626         DtMenuButton : Widget
4627                 {
4628                 SuperClass = XmLabel;
4629                 ConvenienceFunction = DtCreateMenuButton;
4630                 Resources
4631                         {
4632                         ! new resources
4633                         DtNcascadingCallback; 
4634                         DtNcascadePixmap; 
4635                         DtNsubMenuId; 
4636
4637                         ! inherited resources
4638                         XmNhighlightThickness { Default = "2"; };
4639                         XmNmarginWidth { Default = "6"; };
4640                         XmNtraversalOn { Default = "True"; };
4641                         };
4642                 Controls {
4643                         XmPopupMenu;
4644                         XmRenderTable;
4645                         };
4646                 };
4647
4648 Class
4649         DtPrintSetupBox : Widget
4650                 {
4651                 SuperClass = XmBulletinBoard;
4652                 ConvenienceFunction = DtCreatePrintSetupBox;
4653                 Resources
4654                         {
4655                         ! new resources
4656                         DtNcancelCallback;
4657                         DtNclosePrintDisplayCallback;
4658                         DtNcopies;
4659                         DtNdescription;
4660                         DtNfileName;
4661                         DtNminimizeButtons;
4662                         DtNprintCallback;
4663                         DtNprintDestination;
4664                         DtNprinterInfoProc;
4665                         DtNprinterName;
4666                         DtNprintSetupMode;
4667                         DtNselectFileProc;
4668                         DtNselectPrinterProc;
4669                         DtNsetupCallback;
4670                         DtNverifyPrinterProc;
4671                         DtNworkAreaLocation;
4672
4673                         ! inherited resources
4674                         XmNnoResize { Default = "True"; };
4675                         };
4676                 Controls {
4677                         AllWidgetsAndGadgets;
4678                         };
4679                 };
4680
4681 Class
4682         DtPrintSetupDialog : Widget
4683                 {
4684                 SuperClass = DtPrintSetupBox;
4685                 ParentClass = XmDialogShell;
4686                 ConvenienceFunction = DtCreatePrintSetupDialog;
4687                 DialogClass = True;
4688                 Resources
4689                         {
4690                         ! new resources
4691                         ! inherited resources
4692                         };
4693                 Controls {
4694                         AllWidgetsAndGadgets;
4695                         };
4696                 };
4697
4698 Class
4699         DtTermPrimitive : Widget
4700                 {
4701                 SuperClass = XmPrimitive;
4702                 ConvenienceFunction = DtCreateTermPrimitive;
4703                 Resources
4704                         {
4705                         ! new resources
4706                         DtNallowSendEvents;
4707                         DtNbackgroundIsSelect;
4708                         DtNblinkRate;
4709                         DtNbaseWidth;
4710                         DtNbaseHeight;
4711                         DtNcharCursorStyle;
4712                         DtNcolumns { Default = "80"; };
4713                         DtNconsoleMode;
4714                         DtNcsWidth;
4715                         DtNemulationId;
4716                         DtNheightInc;
4717                         DtNinputVerifyCallback;
4718                         DtNjumpScroll;
4719                         DtNkshMode;
4720                         DtNlogging;
4721                         DtNlogFile;
4722                         DtNlogInhibit;
4723                         DtNmapOnOutput;
4724                         DtNmapOnOutputDelay;
4725                         DtNmarginBell;
4726                         DtNmarginHeight { Default = "2"; };
4727                         DtNmarginWidth { Default = "2"; };
4728                         DtNnMarginBell;
4729                         DtNoutputLogCallback;
4730                         DtNpointerBlank;
4731                         DtNpointerBlankDelay;
4732                         DtNpointerShape;
4733                         DtNpointerColor;
4734                         DtNpointerColorBackground;
4735                         DtNreverseVideo;
4736                         DtNrows { Default = "24"; };
4737                         DtNsaveLines;
4738                         DtNshadowType;
4739                         DtNstatusChangeCallback;
4740                         DtNsubprocessArgv;
4741                         DtNsubprocessCmd;
4742                         DtNsubprocessExec;
4743                         DtNsubprocessLoginShell;
4744                         DtNsubprocessPid;
4745                         DtNsubprocessTerminationCallback;
4746                         DtNsubprocessTerminationCatch;
4747                         DtNtermDevice;
4748                         DtNtermDeviceAllocate;
4749                         DtNtermId;
4750                         DtNtermName;
4751                         DtNtermSlaveName;
4752                         DtNttyModes;
4753                         DtNuserBoldFont;
4754                         DtNuserFont;
4755                         DtNverticalScrollBar;
4756                         DtNvisualBell;
4757                         DtNwidthInc;
4758
4759                         ! inherited resources
4760                         XmNhighlightThickness { Default = "2"; };
4761                         XmNtraversalOn { Default = "True"; };
4762                         };
4763                 };
4764
4765 Class
4766         DtTerm : Widget
4767                 {
4768                 SuperClass = DtTermPrimitive;
4769                 ConvenienceFunction = DtCreateTerm;
4770                 Resources
4771                         {
4772                         ! new resources
4773                         DtNappCursorDefault;
4774                         DtNappKeypadDefault;
4775                         DtNautoWrap;
4776                         DtNc132;
4777                         DtNemulationId { Default = "DtTermWidget"; };
4778                         DtNreverseWrap;
4779                         DtNsunFunctionKeys;
4780                         DtNtermId { Default = "vt220"; };
4781                         DtNtermName { Default = "dtterm"; };
4782
4783                         ! commented out 
4784                         ! DtNstickyPrevCursor;
4785                         ! DtNstickyNextCursor;
4786                         ! DtNstatusChangeCallback;
4787                         ! DtNverticalScrollBar;
4788
4789                         ! inherited resources
4790                         };
4791                 };
4792
4793 Resource
4794         DtNallowSendEvents : Argument
4795                 { Type = boolean;
4796                   Default = "False"; };
4797         DtNappCursorDefault : Argument
4798                 { Type = boolean;
4799                   Default = "False"; };
4800         DtNappKeypadDefault : Argument
4801                 { Type = boolean;
4802                   Default = "False"; };
4803         DtNautoShowCursorPosition : Argument
4804                 { Type = boolean;
4805                   Default = "True"; };
4806         DtNautoWrap : Argument
4807                 { Type = boolean;
4808                   Default = "True"; };
4809         DtNbackLabelString : Argument
4810                 { Type = compound_string;
4811                   Default = "Null"; };
4812         DtNbackgroundIsSelect : Argument
4813                 { Type = boolean;
4814                   Default = "False"; };
4815         DtNbaseHeight : Argument
4816                 { Type = integer;
4817                   Default = "0"; };
4818         DtNbaseWidth : Argument
4819                 { Type = integer;
4820                   Default = "0"; };
4821         DtNblinkRate : Argument
4822                 { Type = integer;
4823                   Default = "250"; };
4824         DtNbuttonFontList : Argument
4825                 { Type = font_table;
4826                   Default = "dynamic"; };
4827         DtNc132 : Argument
4828                 { Type = boolean;
4829                   Default = "False"; };
4830         DtNcancelCallback : Reason
4831                 { };
4832         DtNcascadePixmap : Argument
4833                 { Type = pixmap;
4834                   Default = "XmUNSPECIFIED_PIXMAP"; };
4835         DtNcascadingCallback : Reason
4836                 { };
4837         DtNcenterToggleLabel : Argument
4838                 { Type = compound_string;
4839                   Default = "Null"; };
4840         DtNchangeAllButtonLabel : Argument
4841                 { Type = compound_string;
4842                   Default = "Null"; };
4843         DtNchangeButtonLabel : Argument
4844                 { Type = compound_string;
4845                   Default = "Null"; };
4846         DtNchangeFieldLabel : Argument
4847                 { Type = compound_string;
4848                   Default = "Null"; };
4849         DtNcharCursorStyle : Argument
4850                 { Type = integer;
4851                   EnumerationSet = DtCharCursorStyle;
4852                   Default = "DtTERM_CHAR_CURSOR_BOX"; };
4853         DtNcloseCallback : Reason
4854                 { };
4855         DtNcloseLabelString : Argument
4856                 { Type = compound_string;
4857                   Default = "Null"; };
4858         DtNclosePrintDisplayCallback : Reason
4859                 { };
4860         DtNcolumns : Argument
4861                 { Type = integer;
4862                   Default = "DtUNSPECIFIED"; };
4863         DtNconsoleMode : Argument
4864                 { Type = boolean;
4865                   Default = "False"; };
4866         DtNcopies : Argument
4867                 { Type = integer;
4868                   Default = "1"; };
4869         DtNcsWidth : Argument
4870                 { Type = string;
4871                   Default = "Null"; };
4872         DtNcurrentLineLabel : Argument
4873                 { Type = compound_string;
4874                   Default = "Null"; };
4875         DtNcursorPosition : Argument
4876                 { Type = integer;
4877                   Default = "0"; };
4878         DtNcursorPositionVisible : Argument
4879                 { Type = boolean;
4880                   Default = "True"; };
4881         DtNdescription : Argument
4882                 { Type = compound_string;
4883                   Default = "Null"; };
4884         DtNdialogTitle : Argument
4885                 { Type = compound_string;
4886                   Default = "Null"; };
4887         DtNeditable : Argument
4888                 { Type = boolean;
4889                   Default = "True"; };
4890         DtNemulationId : Argument
4891                 { Type = string;
4892                   Default = "Null"; };
4893         DtNexecutionPolicy : Argument
4894                 { Type = integer;
4895                   EnumerationSet = DtExecutionPolicy;
4896                   Default = "DtHELP_EXECUTE_QUERY_UNALIASED"; };
4897         DtNfileName : Argument
4898                 { Type = string;
4899                   Default = "Null"; };
4900         DtNfindButtonLabel : Argument
4901                 { Type = compound_string;
4902                   Default = "Null"; };
4903         DtNfindChangeDialogTitle : Argument
4904                 { Type = compound_string;
4905                   Default = "Null"; };
4906         DtNfindFieldLabel : Argument
4907                 { Type = compound_string;
4908                   Default = "Null"; };
4909         DtNformatAllButtonLabel : Argument
4910                 { Type = compound_string;
4911                   Default = "Null"; };
4912         DtNformatParagraphButtonLabel : Argument
4913                 { Type = compound_string;
4914                   Default = "Null"; };
4915         DtNformatSettingsDialogTitle : Argument
4916                 { Type = compound_string;
4917                   Default = "Null"; };
4918         DtNheightInc : Argument
4919                 { Type = integer;
4920                   Default = "0"; };
4921         DtNhelpFile : Argument
4922                 { Type = string;
4923                   Default = "Null"; };
4924         DtNhelpLabelString : Argument
4925                 { Type = compound_string;
4926                   Default = "Null"; };
4927         DtNhelpOnHelpVolume : Argument
4928                 { Type = string;
4929                   Default = "Null"; };
4930         DtNhelpPrint : Argument
4931                 { Type = string;
4932                   Default = "Null"; };
4933         DtNhelpType : Argument
4934                 { Type = integer;
4935                   EnumerationSet = DtHelpType;
4936                   Default = "DtHELP_TYPE_TOPIC"; };
4937         DtNhelpVolume : Argument
4938                 { Type = string;
4939                   Default = "Null"; };
4940         DtNhyperLinkCallback : Reason
4941                 { };
4942         DtNinformationDialogTitle : Argument
4943                 { Type = compound_string;
4944                   Default = "Null"; };
4945         DtNinputVerifyCallback : Reason
4946                 { };
4947         DtNinsertLabel : Argument
4948                 { Type = compound_string;
4949                   Default = "Null"; };
4950         DtNjumpScroll : Argument
4951                 { Type = boolean;
4952                   Default = "True"; };
4953         DtNjustifyToggleLabel : Argument
4954                 { Type = compound_string;
4955                   Default = "Null"; };
4956         DtNkshMode : Argument
4957                 { Type = boolean;
4958                   Default = "False"; };
4959         DtNlabelFontList : Argument
4960                 { Type = font_table;
4961                   Default = "dynamic"; };
4962         DtNleftAlignToggleLabel : Argument
4963                 { Type = compound_string;
4964                   Default = "Null"; };
4965         DtNleftMarginFieldLabel : Argument
4966                 { Type = compound_string;
4967                   Default = "Null"; };
4968         DtNlocationId : Argument
4969                 { Type = string;
4970                   Default = "Null"; };
4971         DtNlogFile : Argument
4972                 { Type = string;
4973                   Default = "Null"; };
4974         DtNlogInhibit : Argument
4975                 { Type = boolean;
4976                   Default = "False"; };
4977         DtNlogging : Argument
4978                 { Type = boolean;
4979                   Default = "False"; };
4980         DtNmanPage : Argument
4981                 { Type = string;
4982                   Default = "Null"; };
4983         DtNmapOnOutput : Argument
4984                 { Type = boolean;
4985                   Default = "False"; };
4986         DtNmapOnOutputDelay : Argument
4987                 { Type = integer;
4988                   Default = "0"; };
4989         DtNmarginBell : Argument
4990                 { Type = boolean;
4991                   Default = "False"; };
4992         DtNmarginHeight : Argument
4993                 { Type = vertical_float;
4994                   Default = "4"; };
4995         DtNmarginWidth : Argument
4996                 { Type = horizontal_float;
4997                   Default = "1"; };
4998         DtNmaxLength : Argument
4999                 { Type = integer;
5000                   Default = "DtUNSPECIFIED"; };
5001         DtNminimizeButtons : Argument
5002                 { Type = boolean;
5003                   Default = "False"; };
5004         DtNmisspelledListLabel : Argument
5005                 { Type = compound_string;
5006                   Default = "Null"; };
5007         DtNmoreLabelString : Argument
5008                 { Type = compound_string;
5009                   Default = "Null"; };
5010         DtNnMarginBell : Argument
5011                 { Type = integer;
5012                   Default = "8"; };
5013         DtNoutputLogCallback : Reason
5014                 { };
5015         DtNoverstrike : Argument
5016                 { Type = boolean;
5017                   Default = "False"; };
5018         DtNoverstrikeLabel : Argument
5019                 { Type = compound_string;
5020                   Default = "Null"; };
5021         DtNpaperSize : Argument
5022                 { Type = integer;
5023                   EnumerationSet = DtPaperSize;
5024                   Default = "DtHELP_PAPERSIZE_LETTER"; };
5025         DtNpointerBlank : Argument
5026                 { Type = boolean;
5027                   Default = "False"; };
5028         DtNpointerBlankDelay : Argument
5029                 { Type = integer;
5030                   Default = "2"; };
5031         DtNpointerColor : Argument
5032                 { Type = color;
5033                   Default = "XtDefaultForeground"; };
5034         DtNpointerColorBackground : Argument
5035                 { Type = color;
5036                   Default = "XtDefaultBackground"; };
5037         DtNpointerShape : Argument
5038                 { Type = any;
5039                   Default = "xterm"; };
5040         DtNprintCallback : Reason
5041                 { };
5042         DtNprintDestination : Argument
5043                 { Type = integer;
5044                   EnumerationSet = DtPrintDestination;
5045                   Default = "DtPRINT_TO_PRINTER"; };
5046         DtNprintLabelString : Argument
5047                 { Type = compound_string;
5048                   Default = "Null"; };
5049         DtNprintSetupMode : Argument
5050                 { Type = integer;
5051                   EnumerationSet = DtSetupMode;
5052                   Default = "DtPRINT_SETUP_XP"; };
5053         DtNprinter : Argument
5054                 { Type = string;
5055                   Default = "Null"; };
5056         DtNprinterInfoProc : Argument
5057                 { Type = any;
5058                   Default = "DtUNSPECIFIED"; };
5059         DtNprinterName : Argument
5060                 { Type = string;
5061                   Default = "Null"; };
5062         DtNreverseVideo : Argument
5063                 { Type = boolean;
5064                   Default = "False"; };
5065         DtNreverseWrap : Argument
5066                 { Type = boolean;
5067                   Default = "False"; };
5068         DtNrightAlignToggleLabel : Argument
5069                 { Type = compound_string;
5070                   Default = "Null"; };
5071         DtNrightMarginFieldLabel : Argument
5072                 { Type = compound_string;
5073                   Default = "Null"; };
5074         DtNrows : Argument
5075                 { Type = integer;
5076                   Default = "DtUNSPECIFIED"; };
5077         DtNsaveLines : Argument
5078                 { Type = string;
5079                   Default = "null"; };
5080         DtNscrollBarPolicy : Argument
5081                 { Type = integer;
5082                   EnumerationSet = DtScrollBarPolicy;
5083                   Default = "DtHELP_AS_NEEDED_SCROLLBARS"; };
5084         DtNscrollHorizontal : Argument
5085                 { Type = boolean;
5086                   Default = "True"; };
5087         DtNscrollLeftSide : Argument
5088                 { Type = boolean;
5089                   Default = "UNSPECIFIED"; };
5090         DtNscrollTopSide : Argument
5091                 { Type = boolean;
5092                   Default = "UNSPECIFIED"; };
5093         DtNscrollVertical : Argument
5094                 { Type = boolean;
5095                   Default = "True"; };
5096         DtNselectFileProc : Argument
5097                 { Type = any;
5098                   Default = "default"; };
5099         DtNselectPrinterProc : Argument
5100                 { Type = any;
5101                   Default = "DtUNSPECIFIED"; };
5102         DtNsetupCallback : Reason
5103                 { };
5104         DtNshadowType : Argument
5105                 { Type = integer;
5106                   EnumerationSet = DtShadowType;
5107                   Default = "DtSHADOW_IN"; };
5108         DtNshowNewWindowButton : Argument
5109                 { Type = boolean;
5110                   Default = "False"; };
5111         DtNshowStatusLine : Argument
5112                 { Type = boolean;
5113                   Default = "False"; };
5114         ! DtNshowTopLevelButton : Argument
5115         !       { Type = boolean;
5116         !         Default = "False"; };
5117         DtNspellDialogTitle : Argument
5118                 { Type = compound_string;
5119                   Default = "Null"; };
5120         DtNspellFilter : Argument
5121                 { Type = string;
5122                   Default = "Null"; };
5123         ! DtNsrchHitPrefixFont : Argument
5124         !       { Type = string;
5125         !         Default = "dynamic"; };
5126         DtNstatusChangeCallback : Reason
5127                 { };
5128         DtNstickyNextCursor : Argument
5129                 { Type = boolean;
5130                   Default = "False"; };
5131         DtNstickyPrevCursor : Argument
5132                 { Type = boolean;
5133                   Default = "False"; };
5134         DtNstringData : Argument
5135                 { Type = string;
5136                   Default = "Null"; };
5137         DtNsubMenuId : Argument
5138                 { Type = widget_ref;
5139                   Default = "Null"; };
5140         DtNsubprocessArgv : Argument
5141                 { Type = any;
5142                   Default = "NULL"; };
5143         DtNsubprocessCmd : Argument
5144                 { Type = string;
5145                   Default = "Null"; };
5146         DtNsubprocessExec : Argument
5147                 { Type = boolean;
5148                   Default = "True"; };
5149         DtNsubprocessLoginShell : Argument
5150                 { Type = boolean;
5151                   Default = "False"; };
5152         DtNsubprocessPid : Argument
5153                 { Type = integer;
5154                   Default = "-1"; };
5155         DtNsubprocessTerminationCallback : Reason
5156                 { };
5157         DtNsubprocessTerminationCatch : Argument
5158                 { Type = boolean;
5159                   Default = "True"; };
5160         DtNsunFunctionKeys : Argument
5161                 { Type = boolean;
5162                   Default = "False"; };
5163         DtNtermDevice : Argument
5164                 { Type = integer;
5165                   Default = "-1"; };
5166         DtNtermDeviceAllocate : Argument
5167                 { Type = boolean;
5168                   Default = "True"; };
5169         DtNtermId : Argument
5170                 { Type = string;
5171                   Default = "Null"; };
5172         DtNtermName : Argument
5173                 { Type = string;
5174                   Default = "Null"; };
5175         DtNtermSlaveName : Argument
5176                 { Type = string;
5177                   Default = "Null"; };
5178         DtNtextBackground : Argument
5179                 { Type = color;
5180                   Default = "DtUNSPECIFIED"; };
5181         DtNtextDeselectCallback : Reason
5182                 { };
5183         DtNtextFontList : Argument
5184                 { Type = font_table;
5185                   Default = "dynamic"; };
5186         DtNtextForeground : Argument
5187                 { Type = color;
5188                   Default = "DtUNSPECIFIED"; };
5189         DtNtextSelectCallback : Reason
5190                 { };
5191         DtNtextTranslations : Argument
5192                 { Type = translation_table;
5193                   Default = "Null"; };
5194         DtNtopCharacter : Argument
5195                 { Type = integer;
5196                   Default = "0"; };
5197         DtNtopicTitle : Argument
5198                 { Type = string;
5199                   Default = "Null"; };
5200         DtNtotalLineCountLabel : Argument
5201                 { Type = compound_string;
5202                   Default = "Null"; };
5203         DtNttyModes : Argument
5204                 { Type = string;
5205                   Default = "Null"; };
5206         DtNuserBoldFont : Argument
5207                 { Type = font_table;
5208                   Default = "dynamic"; };
5209         DtNuserFont : Argument
5210                 { Type = font_table;
5211                   Default = "dynamic"; };
5212         DtNverifyPrinterProc : Argument
5213                 { Type = any;
5214                   Default = "DtUNSPECIFIED"; };
5215         DtNverticalScrollBar : Argument
5216                 { Type = widget_ref;
5217                   Default = "Null"; };
5218         DtNvisiblePathCount : Argument
5219                 { Type = integer;
5220                   Default = "7"; };
5221         DtNvisualBell : Argument
5222                 { Type = boolean;
5223                   Default = "False"; };
5224         DtNwidthInc : Argument
5225                 { Type = integer;
5226                   Default = "0"; };
5227         DtNwordWrap : Argument
5228                 { Type = boolean;
5229                   Default = "False"; };
5230         DtNworkAreaLocation : Argument
5231                 { Type = integer;
5232                   EnumerationSet = DtWorkAreaLocation;
5233                   Default = "DtWORK_AREA_BOTTOM"; };