File indexing completed on 2025-01-18 10:15:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef _XmPButtonP_h
0024 #define _XmPButtonP_h
0025
0026 #include <Xm/PushB.h>
0027 #include <Xm/LabelP.h>
0028
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032
0033
0034
0035 typedef struct _XmPushButtonClassPart
0036 {
0037 XtPointer extension;
0038 } XmPushButtonClassPart;
0039
0040
0041
0042
0043 typedef struct _XmPushButtonClassRec {
0044 CoreClassPart core_class;
0045 XmPrimitiveClassPart primitive_class;
0046 XmLabelClassPart label_class;
0047 XmPushButtonClassPart pushbutton_class;
0048 } XmPushButtonClassRec;
0049
0050
0051 externalref XmPushButtonClassRec xmPushButtonClassRec;
0052
0053
0054
0055 typedef struct _XmPushButtonPart
0056 {
0057 Boolean fill_on_arm;
0058 Dimension show_as_default;
0059 Pixel arm_color;
0060 Pixmap arm_pixmap;
0061 XtCallbackList activate_callback;
0062 XtCallbackList arm_callback;
0063 XtCallbackList disarm_callback;
0064
0065 Boolean armed;
0066 Pixmap unarm_pixmap;
0067 GC fill_gc;
0068 GC background_gc;
0069 XtIntervalId timer;
0070 unsigned char multiClick;
0071 int click_count;
0072 Time armTimeStamp;
0073 Boolean compatible;
0074 Dimension default_button_shadow_thickness;
0075
0076
0077
0078 } XmPushButtonPart;
0079
0080
0081
0082
0083 typedef struct _XmPushButtonRec {
0084 CorePart core;
0085 XmPrimitivePart primitive;
0086 XmLabelPart label;
0087 XmPushButtonPart pushbutton;
0088 } XmPushButtonRec;
0089
0090
0091
0092
0093
0094
0095
0096 #ifdef __cplusplus
0097 }
0098 #endif
0099
0100 #endif
0101