view lwlib/xlwmenu.h @ 26560:edf06ac56d1f

(fortran-comment-line-start): Renamed from comment-line-start. (fortran-comment-line-start-skip): Renamed from comment-line-start-skip. (fortran-mode-map): Use renamed functions. Add manual and custom entries to menu. (fortran-mode-hook): Customize. (fortran-comment-indent-function): Renamed from fortran-comment-hook. (delete-horizontal-regexp): Function deleted. (fortran-electric-line-number): Simplified. (fortran-beginning-of-subprogram): Renamed from beginning-of-fortran-subprogram. (fortran-end-of-subprogram): Renamed from end-of-fortran-subprogram. (fortran-mark-subprogram): Renamed from mark-fortran-subprogram. (fortran-previous-statement, fortran-next-statement): Simplified. (fortran-blink-match): New function. (fortran-blink-matching-if, fortran-blink-matching-do): Use it. (fortran-indent-to-column): Don't use delete-horizontal-regexp. (fortran-find-comment-start-skip, fortran-is-in-string-p): Use line-end-position. (fortran-fill): No longer interactive. Simplified. (fortran-break-line): Simplified. (fortran-analyze-file-format): Use char-after, not looking-at.
author Dave Love <fx@gnu.org>
date Tue, 23 Nov 1999 20:19:47 +0000
parents 20cb460b85d3
children 8b90339beb04
line wrap: on
line source

#ifndef _XlwMenu_h
#define _XlwMenu_h

/***********************************************************************
 *
 * XlwMenu Widget
 *
 ***********************************************************************/

#include "lwlib.h"

/* Resource names used by the XlwMenu widget */
#define XtNbuttonForeground "buttonForeground"
#define XtCButtonForeground "ButtonForeground"
#define XtNmargin "margin"
#define XtNhorizontalSpacing "horizontalSpacing"
#define XtNverticalSpacing "verticalSpacing"
#define XtNarrowSpacing "arrowSpacing"
#define XtNmenu "menu"
#define XtCMenu "Menu"
#define XtNopen "open"
#define XtNselect "select"
#define XtNmenuBorderWidth "menuBorderWidth"
#define XtNhorizontal "horizontal"
#define XtCHorizontal "Horizontal"
#define XtNcursor "cursor"
#define XtNCursor "Cursor"
#define XtNshowGrip "showGrip"
#define XtCShowGrip "ShowGrip"
#define XtNresizeToPreferred "resizeToPreferred"
#define XtCResizeToPreferred "ResizeToPreferred"
#define XtNallowResize "allowResize"
#define XtCAllowResize "AllowResize"

/* Motif-compatible resource names */
#define XmNshadowThickness	"shadowThickness"
#define XmCShadowThickness	"ShadowThickness"
#define XmNtopShadowColor	"topShadowColor"
#define XmCTopShadowColor	"TopShadowColor"
#define XmNbottomShadowColor	"bottomShadowColor"
#define XmCBottomShadowColor	"BottomShadowColor"
#define XmNtopShadowPixmap	"topShadowPixmap"
#define XmCTopShadowPixmap	"TopShadowPixmap"
#define XmNbottomShadowPixmap	"bottomShadowPixmap"
#define XmCBottomShadowPixmap	"BottomShadowPixmap"
#define XmRHorizontalDimension	"HorizontalDimension"

typedef struct _XlwMenuRec *XlwMenuWidget;
typedef struct _XlwMenuClassRec *XlwMenuWidgetClass;

extern WidgetClass xlwMenuWidgetClass;

void
pop_up_menu ();

#endif /* _XlwMenu_h */