Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / DtWidget / MenuButton.h
1 /* $XConsortium: MenuButton.h /main/3 1995/10/26 09:33:10 rswiston $ */
2 /*
3  *  (c) Copyright 1993, 1994 Hewlett-Packard Company
4  *  (c) Copyright 1993, 1994 International Business Machines Corp.
5  *  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
6  *  (c) Copyright 1993, 1994 Novell, Inc.
7  */
8
9 #ifndef _Dt_MenuButton_h
10 #define _Dt_MenuButton_h
11
12 #include <Xm/Xm.h>
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 /*
19  * Constants
20  */
21
22 /* Resources */
23
24 #ifndef DtNcascadingCallback
25 #define DtNcascadingCallback    XmNcascadingCallback
26 #endif
27 #ifndef DtNsubMenuId
28 #define DtNsubMenuId            XmNsubMenuId
29 #endif
30 #ifndef DtNcascadePixmap
31 #define DtNcascadePixmap        XmNcascadePixmap
32 #endif
33
34 #ifndef DtCCallback
35 #define DtCCallback             XmCCallback
36 #endif
37 #ifndef DtCPixmap
38 #define DtCPixmap               XmCPixmap
39 #endif
40 #ifndef DtCMenuWidget
41 #define DtCMenuWidget           XmCMenuWidget
42 #endif
43
44 #ifndef DtCR_CASCADING
45 #define DtCR_CASCADING          XmCR_CASCADING
46 #endif
47
48
49 /*
50  * Types
51  */
52
53 /* Widget class and instance */
54
55 typedef struct _DtMenuButtonRec      * DtMenuButtonWidget;
56 typedef struct _DtMenuButtonClassRec * DtMenuButtonWidgetClass;
57
58
59 /*
60  * Data
61  */
62
63 /* Widget class record */
64
65 externalref WidgetClass dtMenuButtonWidgetClass;
66
67
68 /*
69  * Functions
70  */
71
72 extern Widget DtCreateMenuButton( 
73                 Widget          parent,
74                 char            *name,
75                 ArgList         arglist,
76                 Cardinal        argcount);
77
78 #ifdef __cplusplus
79 }
80 #endif
81
82 #endif /* _Dt_MenuButton_h */