1 /* $XConsortium: Template.h,v 1.6 94/04/17 20:12:59 converse Exp $ */
5 Copyright (c) 1987 X Consortium
7 Permission is hereby granted, free of charge, to any person obtaining a copy
8 of this software and associated documentation files (the "Software"), to deal
9 in the Software without restriction, including without limitation the rights
10 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 copies of the Software, and to permit persons to whom the Software is
12 furnished to do so, subject to the following conditions:
14 The above copyright notice and this permission notice shall be included in
15 all copies or substantial portions of the Software.
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 Except as contained in this notice, the name of the X Consortium shall not be
25 used in advertising or otherwise to promote the sale, use or other dealings
26 in this Software without prior written authorization from the X Consortium.
33 /****************************************************************
37 ****************************************************************/
41 Name Class RepType Default Value
42 ---- ----- ------- -------------
43 background Background Pixel XtDefaultBackground
44 border BorderColor Pixel XtDefaultForeground
45 borderWidth BorderWidth Dimension 1
46 destroyCallback Callback Pointer NULL
47 height Height Dimension 0
48 mappedWhenManaged MappedWhenManaged Boolean True
49 sensitive Sensitive Boolean True
50 width Width Dimension 0
56 /* define any special resource names here that are not in <X11/StringDefs.h> */
58 #define XtNtemplateResource "templateResource"
60 #define XtCTemplateResource "TemplateResource"
62 /* declare specific TemplateWidget class and instance datatypes */
64 typedef struct _TemplateClassRec
* TemplateWidgetClass
;
65 typedef struct _TemplateRec
* TemplateWidget
;
67 /* declare the class constant */
69 extern WidgetClass templateWidgetClass
;
71 #endif /* _Template_h */