File indexing completed on 2025-01-18 10:15:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef _XmVendorSEP_h
0024 #define _XmVendorSEP_h
0025
0026 #include <Xm/ShellEP.h>
0027 #include <Xm/MwmUtil.h>
0028
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032
0033
0034 #ifndef XmIsVendorShellExt
0035 #define XmIsVendorShellExt(w) XtIsSubclass(w, xmVendorShellExtObjectClass)
0036 #endif
0037
0038 typedef struct _XmVendorShellExtRec *XmVendorShellExtObject;
0039 typedef struct _XmVendorShellExtClassRec *XmVendorShellExtObjectClass;
0040 externalref WidgetClass xmVendorShellExtObjectClass;
0041
0042
0043 #define XmInheritProtocolHandler ((XtCallbackProc)_XtInherit)
0044
0045 typedef struct _XmVendorShellExtClassPart{
0046 XtCallbackProc delete_window_handler;
0047 XtCallbackProc offset_handler;
0048 XtPointer extension;
0049 }XmVendorShellExtClassPart, *XmVendorShellExtClassPartPtr;
0050
0051 typedef struct _XmVendorShellExtClassRec{
0052 ObjectClassPart object_class;
0053 XmExtClassPart ext_class;
0054 XmDesktopClassPart desktop_class;
0055 XmShellExtClassPart shell_class;
0056 XmVendorShellExtClassPart vendor_class;
0057 }XmVendorShellExtClassRec;
0058
0059 typedef struct {
0060 XmFontList default_font_list;
0061 unsigned char focus_policy;
0062 XmFocusData focus_data;
0063 unsigned char delete_response;
0064 unsigned char unit_type;
0065 MwmHints mwm_hints;
0066 MwmInfo mwm_info;
0067 String mwm_menu;
0068 XtCallbackList focus_moved_callback;
0069
0070
0071
0072 Widget old_managed;
0073 Position xAtMap, yAtMap, xOffset, yOffset;
0074 unsigned long lastOffsetSerial;
0075 unsigned long lastMapRequest;
0076 Boolean externalReposition;
0077
0078
0079
0080
0081
0082 unsigned char mapStyle;
0083
0084 XtCallbackList realize_callback;
0085 XtGrabKind grab_kind;
0086 Boolean audible_warning;
0087 XmFontList button_font_list;
0088 XmFontList label_font_list;
0089 XmFontList text_font_list;
0090 String input_method_string;
0091 String preedit_type_string;
0092 unsigned int light_threshold;
0093 unsigned int dark_threshold;
0094 unsigned int foreground_threshold;
0095 unsigned int im_height;
0096 XtPointer im_info;
0097 Boolean im_vs_height_set;
0098
0099
0100 XmDirection layout_direction;
0101 XmInputPolicy input_policy;
0102
0103 Boolean verify_preedit;
0104
0105
0106 Widget label;
0107 int post_delay;
0108 int post_duration;
0109 XtIntervalId timer;
0110 XtIntervalId duration_timer;
0111 Time leave_time;
0112 Widget slider;
0113 Boolean enable;
0114
0115 } XmVendorShellExtPart, *XmVendorShellExtPartPtr;
0116
0117 externalref XmVendorShellExtClassRec xmVendorShellExtClassRec;
0118
0119 typedef struct _XmVendorShellExtRec{
0120 ObjectPart object;
0121 XmExtPart ext;
0122 XmDesktopPart desktop;
0123 XmShellExtPart shell;
0124 XmVendorShellExtPart vendor;
0125 } XmVendorShellExtRec;
0126
0127
0128
0129
0130 void XmeAddFocusChangeCallback(Widget, XtCallbackProc, XtPointer);
0131 void XmeRemoveFocusChangeCallback(Widget, XtCallbackProc, XtPointer);
0132
0133
0134
0135 #ifdef __cplusplus
0136 }
0137 #endif
0138
0139 #endif