xref: /netbsd-src/external/gpl2/groff/dist/src/devices/xditview/Menu.h (revision 89a07cf815a29524268025a1139fac4c5190f765)
1 /*	$NetBSD: Menu.h,v 1.1.1.1 2016/01/13 18:41:49 christos Exp $	*/
2 
3 /*
4  * $XConsortium: Menu.h,v 1.2 89/07/21 14:22:10 jim Exp $
5  */
6 
7 #ifndef _XtMenu_h
8 #define _XtMenu_h
9 
10 /***********************************************************************
11  *
12  * Menu Widget
13  *
14  ***********************************************************************/
15 
16 /* Parameters:
17 
18  Name		     Class		RepType		Default Value
19  ----		     -----		-------		-------------
20  background	     Background		pixel		White
21  border		     BorderColor	pixel		Black
22  borderWidth	     BorderWidth	int		1
23  height		     Height		int		120
24  mappedWhenManaged   MappedWhenManaged	Boolean		True
25  reverseVideo	     ReverseVideo	Boolean		False
26  width		     Width		int		120
27  x		     Position		int		0
28  y		     Position		int		0
29 
30 */
31 
32 #define XtNmenuEntries		"menuEntries"
33 #define XtNhorizontalPadding	"horizontalPadding"
34 #define XtNverticalPadding	"verticalPadding"
35 #define XtNselection		"Selection"
36 
37 #define XtCMenuEntries		"MenuEntries"
38 #define XtCPadding		"Padding"
39 #define XtCSelection		"Selection"
40 
41 typedef struct _MenuRec *MenuWidget;  /* completely defined in MenuPrivate.h */
42 typedef struct _MenuClassRec *MenuWidgetClass;    /* completely defined in MenuPrivate.h */
43 
44 extern WidgetClass menuWidgetClass;
45 
46 extern Widget	XawMenuCreate ();
47 #endif /* _XtMenu_h */
48 /* DON'T ADD STUFF AFTER THIS #endif */
49