Initial revision
[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
29 /* Motif-compatible resource names */
30 #define XmNshadowThickness "shadowThickness"
31 #define XmCShadowThickness "ShadowThickness"
32 #define XmNtopShadowColor "topShadowColor"
33 #define XmCTopShadowColor "TopShadowColor"
34 #define XmNbottomShadowColor "bottomShadowColor"
35 #define XmCBottomShadowColor "BottomShadowColor"
36 #define XmNtopShadowPixmap "topShadowPixmap"
37 #define XmCTopShadowPixmap "TopShadowPixmap"
38 #define XmNbottomShadowPixmap "bottomShadowPixmap"
39 #define XmCBottomShadowPixmap "BottomShadowPixmap"
40 #define XmRHorizontalDimension "HorizontalDimension"
41
42 typedef struct _XlwMenuRec *XlwMenuWidget;
43 typedef struct _XlwMenuClassRec *XlwMenuWidgetClass;
44
45 extern WidgetClass xlwMenuWidgetClass;
46
47 void
48 pop_up_menu (XlwMenuWidget mw, XButtonPressedEvent* event);
49
50 #endif /* _XlwMenu_h */