2 * $XConsortium: Box.h,v 1.19 89/11/06 10:51:21 swick Exp $
6 /***********************************************************
7 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
8 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
12 Permission to use, copy, modify, and distribute this software and its
13 documentation for any purpose and without fee is hereby granted,
14 provided that the above copyright notice appear in all copies and that
15 both that copyright notice and this permission notice appear in
16 supporting documentation, and that the names of Digital or MIT not be
17 used in advertising or publicity pertaining to distribution of the
18 software without specific, written prior permission.
20 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
21 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
22 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
23 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
25 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
28 ******************************************************************/
33 /***********************************************************************
35 * Box Widget (subclass of CompositeClass)
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 hSpace HSpace Dimension 4
48 height Height Dimension 0
49 mappedWhenManaged MappedWhenManaged Boolean True
50 orientation Orientation XtOrientation vertical
51 vSpace VSpace Dimension 4
52 width Width Dimension 0
60 #define XtNhSpace "hSpace"
61 #define XtNvSpace "vSpace"
63 /* Class record constants */
65 extern WidgetClass boxWidgetClass
;
67 typedef struct _BoxClassRec
*BoxWidgetClass
;
68 typedef struct _BoxRec
*BoxWidget
;
70 #endif /* _XawBox_h */