gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / x11 / libXaw5 / src / X11 / Dialog.h
blob4f0bd6f74774a0e33a123ebe225866f24e2c3b54
1 /* $XConsortium: Dialog.h,v 1.28 94/04/17 20:12:03 kaleb Exp $ */
3 /***********************************************************
5 Copyright (c) 1987, 1988, 1994 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.
29 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
31 All Rights Reserved
33 Permission to use, copy, modify, and distribute this software and its
34 documentation for any purpose and without fee is hereby granted,
35 provided that the above copyright notice appear in all copies and that
36 both that copyright notice and this permission notice appear in
37 supporting documentation, and that the name of Digital not be
38 used in advertising or publicity pertaining to distribution of the
39 software without specific, written prior permission.
41 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
42 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
43 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
44 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
45 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
46 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
47 SOFTWARE.
49 ******************************************************************/
51 #ifndef _XawDialog_h
52 #define _XawDialog_h
54 #include <X11/Xaw/Form.h>
56 /***********************************************************************
58 * Dialog Widget
60 ***********************************************************************/
62 /* Parameters:
64 Name Class RepType Default Value
65 ---- ----- ------- -------------
66 background Background Pixel XtDefaultBackground
67 border BorderColor Pixel XtDefaultForeground
68 borderWidth BorderWidth Dimension 1
69 destroyCallback Callback Pointer NULL
70 height Height Dimension computed at create
71 icon Icon Pixmap 0
72 label Label String NULL
73 mappedWhenManaged MappedWhenManaged Boolean True
74 sensitive Sensitive Boolean True
75 value Value String NULL
76 width Width Dimension computed at create
77 x Position Position 0
78 y Position Position 0
82 #define XtCIcon "Icon"
83 #define XtNicon "icon"
85 typedef struct _DialogClassRec *DialogWidgetClass;
86 typedef struct _DialogRec *DialogWidget;
88 extern WidgetClass dialogWidgetClass;
90 _XFUNCPROTOBEGIN
92 extern void XawDialogAddButton(
93 #if NeedFunctionPrototypes
94 Widget /* dialog */,
95 _Xconst char* /* name */,
96 XtCallbackProc /* function */,
97 XtPointer /* client_data */
98 #endif
101 extern char *XawDialogGetValueString(
102 #if NeedFunctionPrototypes
103 Widget /* w */
104 #endif
107 _XFUNCPROTOEND
109 #endif /* _XawDialog_h */