1 /* $XConsortium: Dialog.h,v 1.20 89/11/12 14:02:57 kit Exp $ */
4 /***********************************************************
5 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
6 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
10 Permission to use, copy, modify, and distribute this software and its
11 documentation for any purpose and without fee is hereby granted,
12 provided that the above copyright notice appear in all copies and that
13 both that copyright notice and this permission notice appear in
14 supporting documentation, and that the names of Digital or MIT not be
15 used in advertising or publicity pertaining to distribution of the
16 software without specific, written prior permission.
18 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
19 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
20 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
21 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
22 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
23 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
26 ******************************************************************/
31 #include <./Xaw3_1Form.h>
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 computed at create
49 label Label String NULL
50 mappedWhenManaged MappedWhenManaged Boolean True
51 sensitive Sensitive Boolean True
52 value Value String NULL
53 width Width Dimension computed at create
59 #define XtCIcon "Icon"
61 #define XtNicon "icon"
63 typedef struct _DialogClassRec
*DialogWidgetClass
;
64 typedef struct _DialogRec
*DialogWidget
;
66 extern WidgetClass dialogWidgetClass
;
68 extern void XawDialogAddButton(); /* parent, name, function, param */
71 /* XtCallback function; */
72 /* XtPointer param; */
74 extern char *XawDialogGetValueString(); /* w */
78 /*************************************************************
79 * For Compatibility only. */
81 #define XtDialogGetValueString XawDialogGetValueString
82 #define XtDialogAddButton XawDialogAddButton
84 /*************************************************************/
87 #endif /* _Dialog_h */
88 /* DON'T ADD STUFF AFTER THIS #endif */