(lunar-phase): Use calendar-mod instead of % so that it
[emacs.git] / lwlib / xlwmenu.h
blobe8d3c93778f1f1002a6f11d8bc34588672dcb6f4
1 #ifndef _XlwMenu_h
2 #define _XlwMenu_h
4 /***********************************************************************
6 * XlwMenu Widget
8 ***********************************************************************/
10 #include "lwlib.h"
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"
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"
42 typedef struct _XlwMenuRec *XlwMenuWidget;
43 typedef struct _XlwMenuClassRec *XlwMenuWidgetClass;
45 extern WidgetClass xlwMenuWidgetClass;
47 void
48 pop_up_menu (XlwMenuWidget mw, XButtonPressedEvent* event);
50 #endif /* _XlwMenu_h */