rebuild geeqie
[oi-userland.git] / components / x11 / libXaw4 / src / Xaw3_1MenuButtoP.h
blob54fbb57cd0b251af47c99befad94d90a00a65eaa
1 /*
2 * $XConsortium: MenuButtoP.h,v 1.6 89/12/11 14:57:23 kit Exp $
4 * Copyright 1989 Massachusetts Institute of Technology
6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that
9 * copyright notice and this permission notice appear in supporting
10 * documentation, and that the name of M.I.T. not be used in advertising or
11 * publicity pertaining to distribution of the software without specific,
12 * written prior permission. M.I.T. makes no representations about the
13 * suitability of this software for any purpose. It is provided "as is"
14 * without express or implied warranty.
16 * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
18 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
20 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
21 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24 /***********************************************************************
26 * MenuButton Widget
28 ***********************************************************************/
31 * MenuButtonP.h - Private Header file for MenuButton widget.
33 * This is the private header file for the Athena MenuButton widget.
34 * It is intended to provide an easy method of activating pulldown menus.
36 * Date: May 2, 1989
38 * By: Chris D. Peterson
39 * MIT X Consortium
40 * kit@expo.lcs.mit.edu
43 #ifndef _XawMenuButtonP_h
44 #define _XawtMenuButtonP_h
46 #include <./Xaw3_1MenuButton.h>
47 #include <./Xaw3_1CommandP.h>
49 /************************************
51 * Class structure
53 ***********************************/
56 /* New fields for the MenuButton widget class record */
57 typedef struct _MenuButtonClass
59 int makes_compiler_happy; /* not used */
60 } MenuButtonClassPart;
62 /* Full class record declaration */
63 typedef struct _MenuButtonClassRec {
64 CoreClassPart core_class;
65 SimpleClassPart simple_class;
66 LabelClassPart label_class;
67 CommandClassPart command_class;
68 MenuButtonClassPart menuButton_class;
69 } MenuButtonClassRec;
71 extern MenuButtonClassRec menuButtonClassRec;
73 /***************************************
75 * Instance (widget) structure
77 **************************************/
79 /* New fields for the MenuButton widget record */
80 typedef struct {
81 /* resources */
82 String menu_name;
84 } MenuButtonPart;
86 /* Full widget declaration */
87 typedef struct _MenuButtonRec {
88 CorePart core;
89 SimplePart simple;
90 LabelPart label;
91 CommandPart command;
92 MenuButtonPart menu_button;
93 } MenuButtonRec;
95 #endif /* _XawMenuButtonP_h */