Mercurial > emacs
annotate lwlib/xlwmenu.h @ 54700:677905e471e2
(font-lock): Don't require any more.
(compilation-error-properties, compilation-start, compilation-sentinel)
(compilation-filter, next-error): Use with-current-buffer.
(compilation-skip-to-next-location, compilation-skip-threshold)
(compilation-skip-visited): Move to silence the byte-compiler.
(compilation-setup): Simplify.
(compilation-next-error): Use line-(beginning|end)-position.
Make sure `pt' is non-nil before using compilation-loop.
(compile-goto-error): Add optional event arg. Use it.
(compile-mouse-goto-error): Make it an alias of compile-goto-error.
(compilation-minor-mode-map, compilation-shell-minor-mode-map):
Update the binding for mouse-2.
(first-error): Set compilation-current-error to nil rather than bob.
(compilation-parsing-end, compilation-parse-errors-function)
(compilation-error-list, compilation-old-error-list):
"New" compatibility variables.
(compile-buffer-substring, compilation-compat-error-properties)
(compilation-compat-parse-errors, compilation-forget-errors):
New compatibility functions.
(compilation-mode-font-lock-keywords): Use them.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 04 Apr 2004 12:56:01 +0000 |
parents | 609ef1718642 |
children | 597c62d04dec |
rev | line source |
---|---|
5626 | 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 */ | |
45146
174fe450ad23
(XtNdisabledForeground, XtCDisabledForeground): New resource names.
Pavel Janík <Pavel@Janik.cz>
parents:
29466
diff
changeset
|
13 #define XtNdisabledForeground "disabledForeground" |
174fe450ad23
(XtNdisabledForeground, XtCDisabledForeground): New resource names.
Pavel Janík <Pavel@Janik.cz>
parents:
29466
diff
changeset
|
14 #define XtCDisabledForeground "DisabledForeground" |
5626 | 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" | |
27339
8b90339beb04
(XtNhighlightCallback): New define.
Gerd Moellmann <gerd@gnu.org>
parents:
8786
diff
changeset
|
25 #define XtNhighlightCallback "highlightCallback" |
5626 | 26 #define XtNmenuBorderWidth "menuBorderWidth" |
27 #define XtNhorizontal "horizontal" | |
28 #define XtCHorizontal "Horizontal" | |
29 #define XtNcursor "cursor" | |
30 #define XtNCursor "Cursor" | |
8786 | 31 #define XtNshowGrip "showGrip" |
32 #define XtCShowGrip "ShowGrip" | |
33 #define XtNresizeToPreferred "resizeToPreferred" | |
34 #define XtCResizeToPreferred "ResizeToPreferred" | |
35 #define XtNallowResize "allowResize" | |
36 #define XtCAllowResize "AllowResize" | |
5626 | 37 |
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" | |
50 | |
51 typedef struct _XlwMenuRec *XlwMenuWidget; | |
52 typedef struct _XlwMenuClassRec *XlwMenuWidgetClass; | |
53 | |
54 extern WidgetClass xlwMenuWidgetClass; | |
55 | |
56 #endif /* _XlwMenu_h */ | |
52401 | 57 |
58 /* arch-tag: 0c019735-d61b-4080-be85-4fdd6e50ae07 | |
59 (do not change this comment) */ |