rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1Dialog.h
blob3652ef4cc1fbdf11841f48cc36a95a4cff1d88d6
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.
8 All Rights Reserved
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
24 SOFTWARE.
26 ******************************************************************/
28 #ifndef _Dialog_h
29 #define _Dialog_h
31 #include <./Xaw3_1Form.h>
33 /***********************************************************************
35 * Dialog Widget
37 ***********************************************************************/
39 /* Parameters:
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
48 icon Icon Pixmap 0
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
54 x Position Position 0
55 y Position Position 0
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 */
69 /* Widget parent; */
70 /* String name; */
71 /* XtCallback function; */
72 /* XtPointer param; */
74 extern char *XawDialogGetValueString(); /* w */
75 /* Widget w; */
77 #ifdef XAW_BC
78 /*************************************************************
79 * For Compatibility only. */
81 #define XtDialogGetValueString XawDialogGetValueString
82 #define XtDialogAddButton XawDialogAddButton
84 /*************************************************************/
85 #endif /* XAW_BC */
87 #endif /* _Dialog_h */
88 /* DON'T ADD STUFF AFTER THIS #endif */