*** empty log message ***
[emacs.git] / lwlib / xlwmenu.h
blob5d9a4c2eef362356ae61094c7ff6f86fa044115b
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 XtNhighlightCallback "highlightCallback"
24 #define XtNmenuBorderWidth "menuBorderWidth"
25 #define XtNhorizontal "horizontal"
26 #define XtCHorizontal "Horizontal"
27 #define XtNcursor "cursor"
28 #define XtNCursor "Cursor"
29 #define XtNshowGrip "showGrip"
30 #define XtCShowGrip "ShowGrip"
31 #define XtNresizeToPreferred "resizeToPreferred"
32 #define XtCResizeToPreferred "ResizeToPreferred"
33 #define XtNallowResize "allowResize"
34 #define XtCAllowResize "AllowResize"
36 /* Motif-compatible resource names */
37 #define XmNshadowThickness "shadowThickness"
38 #define XmCShadowThickness "ShadowThickness"
39 #define XmNtopShadowColor "topShadowColor"
40 #define XmCTopShadowColor "TopShadowColor"
41 #define XmNbottomShadowColor "bottomShadowColor"
42 #define XmCBottomShadowColor "BottomShadowColor"
43 #define XmNtopShadowPixmap "topShadowPixmap"
44 #define XmCTopShadowPixmap "TopShadowPixmap"
45 #define XmNbottomShadowPixmap "bottomShadowPixmap"
46 #define XmCBottomShadowPixmap "BottomShadowPixmap"
47 #define XmRHorizontalDimension "HorizontalDimension"
49 typedef struct _XlwMenuRec *XlwMenuWidget;
50 typedef struct _XlwMenuClassRec *XlwMenuWidgetClass;
52 extern WidgetClass xlwMenuWidgetClass;
54 void
55 pop_up_menu __P ((XlwMenuWidget, XButtonPressedEvent*));
57 #endif /* _XlwMenu_h */