2 * $XConsortium: Simple.h,v 1.9 89/07/21 01:44:53 kit Exp $
5 /***********************************************************
6 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
7 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
11 Permission to use, copy, modify, and distribute this software and its
12 documentation for any purpose and without fee is hereby granted,
13 provided that the above copyright notice appear in all copies and that
14 both that copyright notice and this permission notice appear in
15 supporting documentation, and that the names of Digital or MIT not be
16 used in advertising or publicity pertaining to distribution of the
17 software without specific, written prior permission.
19 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
20 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
21 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
22 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
23 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
24 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
27 ******************************************************************/
32 /****************************************************************
36 ****************************************************************/
40 Name Class RepType Default Value
41 ---- ----- ------- -------------
42 background Background Pixel XtDefaultBackground
43 border BorderColor Pixel XtDefaultForeground
44 borderWidth BorderWidth Dimension 1
45 cursor Cursor Cursor None
46 destroyCallback Callback Pointer NULL
47 height Height Dimension 0
48 insensitiveBorder Insensitive Pixmap Gray
49 mappedWhenManaged MappedWhenManaged Boolean True
50 sensitive Sensitive Boolean True
51 width Width Dimension 0
57 #define XtNcursor "cursor"
58 #define XtNinsensitiveBorder "insensitiveBorder"
60 #define XtCInsensitive "Insensitive"
62 typedef struct _SimpleClassRec
*SimpleWidgetClass
;
63 typedef struct _SimpleRec
*SimpleWidget
;
65 extern WidgetClass simpleWidgetClass
;
67 #endif /* _Simple_h */