Use hash-tables.
[emacs.git] / lwlib / xlwmenu.h
blob1466724db0c53afb2c483fcce9b16066e06ff54b
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 XtNdisabledForeground "disabledForeground"
14 #define XtCDisabledForeground "DisabledForeground"
15 #define XtNbuttonForeground "buttonForeground"
16 #define XtCButtonForeground "ButtonForeground"
17 #define XtNmargin "margin"
18 #define XtNhorizontalSpacing "horizontalSpacing"
19 #define XtNverticalSpacing "verticalSpacing"
20 #define XtNarrowSpacing "arrowSpacing"
21 #define XtNmenu "menu"
22 #define XtCMenu "Menu"
23 #define XtNopen "open"
24 #define XtNselect "select"
25 #define XtNhighlightCallback "highlightCallback"
26 #define XtNmenuBorderWidth "menuBorderWidth"
27 #define XtNhorizontal "horizontal"
28 #define XtCHorizontal "Horizontal"
29 #define XtNcursor "cursor"
30 #define XtNCursor "Cursor"
31 #define XtNshowGrip "showGrip"
32 #define XtCShowGrip "ShowGrip"
33 #define XtNresizeToPreferred "resizeToPreferred"
34 #define XtCResizeToPreferred "ResizeToPreferred"
35 #define XtNallowResize "allowResize"
36 #define XtCAllowResize "AllowResize"
38 /* Motif-compatible resource names */
39 #define XmNshadowThickness "shadowThickness"
40 #define XmCShadowThickness "ShadowThickness"
41 #define XmNtopShadowColor "topShadowColor"
42 #define XmCTopShadowColor "TopShadowColor"
43 #define XmNbottomShadowColor "bottomShadowColor"
44 #define XmCBottomShadowColor "BottomShadowColor"
45 #define XmNtopShadowPixmap "topShadowPixmap"
46 #define XmCTopShadowPixmap "TopShadowPixmap"
47 #define XmNbottomShadowPixmap "bottomShadowPixmap"
48 #define XmCBottomShadowPixmap "BottomShadowPixmap"
49 #define XmRHorizontalDimension "HorizontalDimension"
51 typedef struct _XlwMenuRec *XlwMenuWidget;
52 typedef struct _XlwMenuClassRec *XlwMenuWidgetClass;
54 extern WidgetClass xlwMenuWidgetClass;
56 void
57 pop_up_menu __P ((XlwMenuWidget, XButtonPressedEvent*));
59 #endif /* _XlwMenu_h */