entered into RCS
[bpt/emacs.git] / lwlib / xlwmenu.h
1 #ifndef _XlwMenu_h
2 #define _XlwMenu_h
3
4 /***********************************************************************
5 *
6 * XlwMenu Widget
7 *
8 ***********************************************************************/
9
10 #include "lwlib.h"
11
12 /* Resource names used by the XlwMenu widget */
13 #define XtNbuttonForeground "buttonForeground"
14 #define XtCButtonForeground "ButtonForeground"
15 #define XtNmargin "margin"
16 #define XtNhorizontalSpacing "horizontalSpacing"
17 #define XtNverticalSpacing "verticalSpacing"
18 #define XtNarrowSpacing "arrowSpacing"
19 #define XtNmenu "menu"
20 #define XtCMenu "Menu"
21 #define XtNopen "open"
22 #define XtNselect "select"
23 #define XtNmenuBorderWidth "menuBorderWidth"
24 #define XtNhorizontal "horizontal"
25 #define XtCHorizontal "Horizontal"
26 #define XtNcursor "cursor"
27 #define XtNCursor "Cursor"
28 #define XtNshowGrip "showGrip"
29 #define XtCShowGrip "ShowGrip"
30 #define XtNresizeToPreferred "resizeToPreferred"
31 #define XtCResizeToPreferred "ResizeToPreferred"
32 #define XtNallowResize "allowResize"
33 #define XtCAllowResize "AllowResize"
34
35 /* Motif-compatible resource names */
36 #define XmNshadowThickness "shadowThickness"
37 #define XmCShadowThickness "ShadowThickness"
38 #define XmNtopShadowColor "topShadowColor"
39 #define XmCTopShadowColor "TopShadowColor"
40 #define XmNbottomShadowColor "bottomShadowColor"
41 #define XmCBottomShadowColor "BottomShadowColor"
42 #define XmNtopShadowPixmap "topShadowPixmap"
43 #define XmCTopShadowPixmap "TopShadowPixmap"
44 #define XmNbottomShadowPixmap "bottomShadowPixmap"
45 #define XmCBottomShadowPixmap "BottomShadowPixmap"
46 #define XmRHorizontalDimension "HorizontalDimension"
47
48 typedef struct _XlwMenuRec *XlwMenuWidget;
49 typedef struct _XlwMenuClassRec *XlwMenuWidgetClass;
50
51 extern WidgetClass xlwMenuWidgetClass;
52
53 void
54 pop_up_menu ();
55
56 #endif /* _XlwMenu_h */