File indexing completed on 2025-01-18 10:15:26
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef _XmMenuShellP_h
0024 #define _XmMenuShellP_h
0025
0026 #include <Xm/MenuShell.h>
0027 #include <Xm/XmP.h>
0028 #include <X11/ShellP.h>
0029
0030 #ifdef __cplusplus
0031 extern "C" {
0032 #endif
0033
0034
0035
0036 typedef struct
0037 {
0038 unsigned char focus_policy;
0039 XmFocusData focus_data;
0040 Boolean private_shell;
0041 XmFontList default_font_list;
0042 XmFontList button_font_list;
0043 XmFontList label_font_list;
0044 XmDirection layout_direction;
0045 Boolean animate;
0046 } XmMenuShellPart;
0047
0048
0049
0050
0051 typedef struct _XmMenuShellRec
0052 {
0053 CorePart core;
0054 CompositePart composite;
0055 ShellPart shell;
0056 OverrideShellPart override;
0057 XmMenuShellPart menu_shell;
0058 } XmMenuShellRec;
0059
0060 typedef struct _XmMenuShellWidgetRec
0061 {
0062 CorePart core;
0063 CompositePart composite;
0064 ShellPart shell;
0065 OverrideShellPart override;
0066 XmMenuShellPart menu_shell;
0067 } XmMenuShellWidgetRec;
0068
0069
0070
0071
0072
0073 typedef struct
0074 {
0075 XtActionProc popdownOne;
0076 XtActionProc popdownEveryone;
0077 XtActionProc popdownDone;
0078 XmMenuPopupProc popupSharedMenupane;
0079
0080 XtPointer extension;
0081 } XmMenuShellClassPart;
0082
0083
0084
0085
0086 typedef struct _XmMenuShellClassRec
0087 {
0088 CoreClassPart core_class;
0089 CompositeClassPart composite_class;
0090 ShellClassPart shell_class;
0091 OverrideShellClassPart override_shell_class;
0092 XmMenuShellClassPart menu_shell_class;
0093 } XmMenuShellClassRec;
0094
0095
0096 externalref XmMenuShellClassRec xmMenuShellClassRec;
0097
0098 #define MS_FocusPolicy(m) \
0099 (((XmMenuShellWidget)m)->menu_shell.focus_policy)
0100
0101 #ifdef __cplusplus
0102 }
0103 #endif
0104
0105 #endif
0106