gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / x11 / libXaw5 / src / X11 / MenuButtoP.h
blob86c40b858650c03aa246388b8dcd3d0fa7963163
1 /* $XConsortium: MenuButtoP.h,v 1.8 94/04/17 20:12:18 converse Exp $
3 Copyright (c) 1989 X Consortium
5 Permission is hereby granted, free of charge, to any person obtaining a copy
6 of this software and associated documentation files (the "Software"), to deal
7 in the Software without restriction, including without limitation the rights
8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 copies of the Software, and to permit persons to whom the Software is
10 furnished to do so, subject to the following conditions:
12 The above copyright notice and this permission notice shall be included in
13 all copies or substantial portions of the Software.
15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 Except as contained in this notice, the name of the X Consortium shall not be
23 used in advertising or otherwise to promote the sale, use or other dealings
24 in this Software without prior written authorization from the X Consortium.
27 /***********************************************************************
29 * MenuButton Widget
31 ***********************************************************************/
34 * MenuButtonP.h - Private Header file for MenuButton widget.
36 * This is the private header file for the Athena MenuButton widget.
37 * It is intended to provide an easy method of activating pulldown menus.
39 * Date: May 2, 1989
41 * By: Chris D. Peterson
42 * MIT X Consortium
43 * kit@expo.lcs.mit.edu
46 #ifndef _XawMenuButtonP_h
47 #define _XawMenuButtonP_h
49 #include <X11/Xaw/MenuButton.h>
50 #include <X11/Xaw/CommandP.h>
52 /************************************
54 * Class structure
56 ***********************************/
59 /* New fields for the MenuButton widget class record */
60 typedef struct _MenuButtonClass
62 int makes_compiler_happy; /* not used */
63 } MenuButtonClassPart;
65 /* Full class record declaration */
66 typedef struct _MenuButtonClassRec {
67 CoreClassPart core_class;
68 SimpleClassPart simple_class;
69 LabelClassPart label_class;
70 CommandClassPart command_class;
71 MenuButtonClassPart menuButton_class;
72 } MenuButtonClassRec;
74 extern MenuButtonClassRec menuButtonClassRec;
76 /***************************************
78 * Instance (widget) structure
80 **************************************/
82 /* New fields for the MenuButton widget record */
83 typedef struct {
84 /* resources */
85 String menu_name;
87 } MenuButtonPart;
89 /* Full widget declaration */
90 typedef struct _MenuButtonRec {
91 CorePart core;
92 SimplePart simple;
93 LabelPart label;
94 CommandPart command;
95 MenuButtonPart menu_button;
96 } MenuButtonRec;
98 #endif /* _XawMenuButtonP_h */