File indexing completed on 2025-01-18 10:15:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #ifndef XmButtonBoxP_h
0026 #define XmButtonBoxP_h
0027
0028 #if defined(VMS) || defined(__VMS)
0029 #include <X11/apienvset.h>
0030 #endif
0031
0032
0033
0034
0035
0036 #include <Xm/ManagerP.h>
0037 #include <Xm/ButtonBox.h>
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047 #define XmButtonBoxIndex (XmManagerIndex + 1)
0048
0049 #define XmButtonBox_equal_size(w) (((XmButtonBoxWidget)(w))->button_box.equal_size)
0050 #define XmButtonBox_fill_option(w) (((XmButtonBoxWidget)(w))->button_box.fill_option)
0051 #define XmButtonBox_margin_width(w) (((XmButtonBoxWidget)(w))->button_box.margin_width)
0052 #define XmButtonBox_margin_height(w) (((XmButtonBoxWidget)(w))->button_box.margin_height)
0053 #define XmButtonBox_spacing(w) (((XmButtonBoxWidget)(w))->button_box.spacing)
0054 #define XmButtonBox_orientation(w) (((XmButtonBoxWidget)(w))->button_box.orientation)
0055 #define XmButtonBox_default_button(w) (((XmButtonBoxWidget)(w))->button_box.default_button)
0056
0057 #define XmButtonBoxC_pref_width(w) (((XmBBoxConstraints)((Widget)(w))->core.constraints)->bbox.pref_width)
0058 #define XmButtonBoxC_pref_height(w) (((XmBBoxConstraints)((Widget)(w))->core.constraints)->bbox.pref_height)
0059
0060
0061
0062
0063
0064 #ifdef __cplusplus
0065 extern "C" {
0066 #endif
0067
0068 typedef struct _XmButtonBoxClassPart
0069 {
0070 XtPointer extension;
0071 } XmButtonBoxClassPart;
0072
0073 typedef struct _XmButtonBoxClassRec
0074 {
0075 CoreClassPart core_class;
0076 CompositeClassPart composite_class;
0077 ConstraintClassPart constraint_class;
0078 XmManagerClassPart manager_class;
0079 XmButtonBoxClassPart buttonbox_class;
0080
0081 } XmButtonBoxClassRec;
0082
0083 typedef struct _XmBBoxConstraintsPart {
0084 Dimension pref_width, pref_height;
0085 } XmBBoxConstraintsPart;
0086
0087 typedef struct _XmBBoxConstraintsRec {
0088 XmManagerConstraintPart manager;
0089 XmBBoxConstraintsPart bbox;
0090 } XmBBoxConstraintsRec, *XmBBoxConstraints;
0091
0092
0093
0094
0095 typedef XmBBoxConstraintsPart XmButtonBoxConstraintPart;
0096
0097 typedef struct
0098 {
0099
0100
0101 Boolean equal_size;
0102 XmFillOption fill_option;
0103 Dimension margin_width, margin_height;
0104 Dimension spacing;
0105 unsigned char orientation;
0106 Widget default_button;
0107
0108 } XmButtonBoxPart;
0109
0110 typedef struct _XmButtonBoxRec
0111 {
0112 CorePart core;
0113 CompositePart composite;
0114 ConstraintPart constraint;
0115 XmManagerPart manager;
0116 XmButtonBoxPart button_box;
0117
0118 } XmButtonBoxRec;
0119
0120
0121
0122
0123
0124 extern XmButtonBoxClassRec xmButtonBoxClassRec;
0125
0126
0127
0128
0129
0130 #ifdef __cplusplus
0131 }
0132 #endif
0133
0134 #if defined(VMS) || defined(__VMS)
0135 #include <X11/apienvrst.h>
0136 #endif
0137
0138 #endif