1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 #ifndef NEDIT_MENU_H_INCLUDED
28 #define NEDIT_MENU_H_INCLUDED
29
30 #include "nedit.h"
31
32 #include <X11/Intrinsic.h>
33 #include <X11/Xlib.h>
34
35 #define PERMANENT_MENU_ITEM (XtPointer)
1
36 #define TEMPORARY_MENU_ITEM (XtPointer)
2
37
38 Widget CreateMenuBar(Widget parent, WindowInfo *window);
39 Widget RecreateMenuBar(Widget parent, Widget menubar, WindowInfo *window, Boolean clear);
40 void InstallMenuActions(XtAppContext context);
41 XtActionsRec *GetMenuActions(
int *nActions);
42 void InvalidateWindowMenus(
void);
43 void CheckCloseDim(
void);
44 void AddToPrevOpenMenu(
const char *filename);
45 void WriteNEditDB(
void);
46 void ReadNEditDB(
void);
47 Widget CreateBGMenu(WindowInfo *window);
48 void AddBGMenuAction(Widget widget);
49 void HidePointerOnKeyedEvent(Widget w, XEvent *event);
50 Widget CreateTabContextMenu(Widget parent, WindowInfo *window);
51 void AddTabContextMenuAction(Widget widget);
52 void ShowHiddenTearOff(Widget menuPane);
53
54 #endif
55