1 | /* |
---|
2 | * (c) Copyright 1989, 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC. |
---|
3 | * ALL RIGHTS RESERVED |
---|
4 | */ |
---|
5 | /* |
---|
6 | * Motif Release 1.2.2 |
---|
7 | */ |
---|
8 | /* $RCSfile: WmMenu.h,v $ $Revision: 1.1.1.1 $ $Date: 1997-03-25 09:12:22 $ */ |
---|
9 | /* |
---|
10 | * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */ |
---|
11 | |
---|
12 | #ifdef _NO_PROTO |
---|
13 | |
---|
14 | extern void ActivateCallback (); |
---|
15 | extern Widget CreateMenuWidget (); |
---|
16 | extern void FreeCustomMenuSpec (); |
---|
17 | extern void MWarning (); |
---|
18 | extern MenuSpec *MakeMenu (); |
---|
19 | extern void PostMenu (); |
---|
20 | extern void TraversalOff (); |
---|
21 | extern void TraversalOn (); |
---|
22 | extern void UnpostMenu (); |
---|
23 | extern void UnmapCallback (); |
---|
24 | |
---|
25 | |
---|
26 | #else /* _NO_PROTO */ |
---|
27 | |
---|
28 | extern void ActivateCallback (Widget w, XtPointer client_data, |
---|
29 | XtPointer call_data); |
---|
30 | extern Widget CreateMenuWidget (WmScreenData *pSD, String menuName, |
---|
31 | Widget parent, Boolean fTopLevelPane, |
---|
32 | MenuSpec *topMenuSpec, |
---|
33 | MenuItem *moreMenuItems); |
---|
34 | extern void FreeCustomMenuSpec (MenuSpec *menuSpec); |
---|
35 | extern void MWarning (char *format, char *message); |
---|
36 | extern MenuSpec *MakeMenu (WmScreenData *pSD, String menuName, |
---|
37 | Context initialContext, Context accelContext, |
---|
38 | MenuItem *moreMenuItems, Boolean fSystemMenu); |
---|
39 | extern void PostMenu (MenuSpec *menuSpec, ClientData *pCD, int x, int y, |
---|
40 | unsigned int button, Context newContext, long flags, |
---|
41 | XEvent *passedInEvent); |
---|
42 | extern void TraversalOff (MenuSpec *menuSpec); |
---|
43 | extern void TraversalOn (MenuSpec *menuSpec); |
---|
44 | extern void UnmapCallback (Widget w, XtPointer client_data, XtPointer call_data); |
---|
45 | extern void UnpostMenu (MenuSpec *menuSpec); |
---|
46 | |
---|
47 | #endif /* _NO_PROTO */ |
---|