Removed silencing of gtk warning logs from gtk3.22-client.
[freeciv.git] / client / gui-xaw / pixcomm.h
blob7fbb8e884d3c66ec6a6e70eae608bcb8682572b3
1 /*
2 * $XConsortium: MenuButton.h,v 1.9 94/04/17 20:12:21 kaleb Exp $
4 Copyright (c) 1989, 1994 X Consortium
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 Except as contained in this notice, the name of the X Consortium shall not be
24 used in advertising or otherwise to promote the sale, use or other dealings
25 in this Software without prior written authorization from the X Consortium.
28 /***********************************************************************
30 * PixCommand Widget
32 ***********************************************************************/
35 * PixCommand.h - Public Header file for PixCommand widget.
37 * This is the public header file for the Athena MenuButton widget.
38 * It is intended to provide an easy method of activating pulldown menus.
40 * Date: May 2, 1989
42 * By: Chris D. Peterson
43 * MIT X Consortium
44 * kit@expo.lcs.mit.edu
47 #ifndef _Pixcomm_h
48 #define _Pixcomm_h
50 #include <X11/Intrinsic.h>
51 #include <X11/Xaw/Command.h>
53 /* Resources:
55 Name Class RepType Default Value
56 ---- ----- ------- -------------
57 background Background Pixel XtDefaultBackground
58 bitmap Pixmap Pixmap None
59 border BorderColor Pixel XtDefaultForeground
60 borderWidth BorderWidth Dimension 1
61 callback Callback Pointer NULL
62 cursor Cursor Cursor None
63 destroyCallback Callback Pointer NULL
64 font Font XFontStruct* XtDefaultFont
65 foreground Foreground Pixel XtDefaultForeground
66 height Height Dimension text height
67 highlightThickness Thickness Dimension 2
68 insensitiveBorder Insensitive Pixmap Gray
69 internalHeight Height Dimension 2
70 internalWidth Width Dimension 4
71 justify Justify XtJustify XtJustifyCenter
72 label Label String NULL
73 mappedWhenManaged MappedWhenManaged Boolean True
74 menuName MenuName String "menu"
75 resize Resize Boolean True
76 sensitive Sensitive Boolean True
77 width Width Dimension text width
78 x Position Position 0
79 y Position Position 0
83 extern WidgetClass pixcommWidgetClass;
85 typedef struct _PixcommClassRec *PixcommWidgetClass;
86 typedef struct _PixcommRec *PixcommWidget;
88 Pixmap XawPixcommPixmap(Widget w);
89 void XawPixcommCopyTo(Widget w, Pixmap src);
90 void XawPixcommClear(Widget w);
92 #endif