Debian Codegraph @

gui/GraphLib/libsrc/uimxR5/include/UxRowCol.h

raw
1 /* @(#)UxRowCol.h 17.1 (ESO-IPG) 01/25/02 17:26:02 */
2 #ifndef UXRowColumn_INCLUDED
3 #define UXRowColumn_INCLUDED
4
5 #include "Xm/RowColumn.h"
6
7 #ifdef DESIGN_TIME
8 #include "UxMgr.h"
9
10 #ifndef UxGetWhichButton
11 extern binptr UxP_RowColumnRD_whichButton;
12 #define UxGetWhichButton(sw) \
13 UxGET_int(sw,UxP_RowColumnRD_whichButton,"whichButton")
14 #define UxPutWhichButton(sw,val) \
15 UxPUT_int(sw,UxP_RowColumnRD_whichButton,"whichButton",val)
16 #endif
17
18 #ifndef UxGetTearOffModel
19 extern binptr UxP_RowColumnRD_tearOffModel;
20 #define UxGetTearOffModel(sw) \
21 UxGET_string(sw,UxP_RowColumnRD_tearOffModel,"tearOffModel")
22 #define UxPutTearOffModel(sw,val) \
23 UxPUT_string(sw,UxP_RowColumnRD_tearOffModel,"tearOffModel",val)
24 #endif
25
26 #ifndef UxGetSubMenuId
27 extern binptr UxP_RowColumnRD_subMenuId;
28 #define UxGetSubMenuId(sw) \
29 UxGET_string(sw,UxP_RowColumnRD_subMenuId,"subMenuId")
30 #define UxPutSubMenuId(sw,val) \
31 UxPUT_string(sw,UxP_RowColumnRD_subMenuId,"subMenuId",val)
32 #endif
33
34 #ifndef UxGetSpacing
35 extern binptr UxP_RowColumnRD_spacing;
36 #define UxGetSpacing(sw) \
37 UxGET_int(sw,UxP_RowColumnRD_spacing,"spacing")
38 #define UxPutSpacing(sw,val) \
39 UxPUT_int(sw,UxP_RowColumnRD_spacing,"spacing",val)
40 #endif
41
42 #ifndef UxGetRowColumnType
43 extern binptr UxP_RowColumnRD_rowColumnType;
44 #define UxGetRowColumnType(sw) \
45 UxGET_string(sw,UxP_RowColumnRD_rowColumnType,"rowColumnType")
46 #define UxPutRowColumnType(sw,val) \
47 UxPUT_string(sw,UxP_RowColumnRD_rowColumnType,"rowColumnType",val)
48 #endif
49
50 #ifndef UxGetResizeWidth
51 extern binptr UxP_RowColumnRD_resizeWidth;
52 #define UxGetResizeWidth(sw) \
53 UxGET_string(sw,UxP_RowColumnRD_resizeWidth,"resizeWidth")
54 #define UxPutResizeWidth(sw,val) \
55 UxPUT_string(sw,UxP_RowColumnRD_resizeWidth,"resizeWidth",val)
56 #endif
57
58 #ifndef UxGetResizeHeight
59 extern binptr UxP_RowColumnRD_resizeHeight;
60 #define UxGetResizeHeight(sw) \
61 UxGET_string(sw,UxP_RowColumnRD_resizeHeight,"resizeHeight")
62 #define UxPutResizeHeight(sw,val) \
63 UxPUT_string(sw,UxP_RowColumnRD_resizeHeight,"resizeHeight",val)
64 #endif
65
66 #ifndef UxGetRadioBehavior
67 extern binptr UxP_RowColumnRD_radioBehavior;
68 #define UxGetRadioBehavior(sw) \
69 UxGET_string(sw,UxP_RowColumnRD_radioBehavior,"radioBehavior")
70 #define UxPutRadioBehavior(sw,val) \
71 UxPUT_string(sw,UxP_RowColumnRD_radioBehavior,"radioBehavior",val)
72 #endif
73
74 #ifndef UxGetRadioAlwaysOne
75 extern binptr UxP_RowColumnRD_radioAlwaysOne;
76 #define UxGetRadioAlwaysOne(sw) \
77 UxGET_string(sw,UxP_RowColumnRD_radioAlwaysOne,"radioAlwaysOne")
78 #define UxPutRadioAlwaysOne(sw,val) \
79 UxPUT_string(sw,UxP_RowColumnRD_radioAlwaysOne,"radioAlwaysOne",val)
80 #endif
81
82 #ifndef UxGetPositionIndex
83 extern binptr UxP_RowColumnRD_positionIndex;
84 #define UxGetPositionIndex(sw) \
85 UxGET_short(sw,UxP_RowColumnRD_positionIndex,"positionIndex")
86 #define UxPutPositionIndex(sw,val) \
87 UxPUT_short(sw,UxP_RowColumnRD_positionIndex,"positionIndex",val)
88 #endif
89
90 #ifndef UxGetPopupEnabled
91 extern binptr UxP_RowColumnRD_popupEnabled;
92 #define UxGetPopupEnabled(sw) \
93 UxGET_string(sw,UxP_RowColumnRD_popupEnabled,"popupEnabled")
94 #define UxPutPopupEnabled(sw,val) \
95 UxPUT_string(sw,UxP_RowColumnRD_popupEnabled,"popupEnabled",val)
96 #endif
97
98 #ifndef UxGetPacking
99 extern binptr UxP_RowColumnRD_packing;
100 #define UxGetPacking(sw) \
101 UxGET_string(sw,UxP_RowColumnRD_packing,"packing")
102 #define UxPutPacking(sw,val) \
103 UxPUT_string(sw,UxP_RowColumnRD_packing,"packing",val)
104 #endif
105
106 #ifndef UxGetOrientation
107 extern binptr UxP_RowColumnRD_orientation;
108 #define UxGetOrientation(sw) \
109 UxGET_string(sw,UxP_RowColumnRD_orientation,"orientation")
110 #define UxPutOrientation(sw,val) \
111 UxPUT_string(sw,UxP_RowColumnRD_orientation,"orientation",val)
112 #endif
113
114 #ifndef UxGetNumColumns
115 extern binptr UxP_RowColumnRD_numColumns;
116 #define UxGetNumColumns(sw) \
117 UxGET_short(sw,UxP_RowColumnRD_numColumns,"numColumns")
118 #define UxPutNumColumns(sw,val) \
119 UxPUT_short(sw,UxP_RowColumnRD_numColumns,"numColumns",val)
120 #endif
121
122 #ifndef UxGetMnemonicCharSet
123 extern binptr UxP_RowColumnRD_mnemonicCharSet;
124 #define UxGetMnemonicCharSet(sw) \
125 UxGET_string(sw,UxP_RowColumnRD_mnemonicCharSet,"mnemonicCharSet")
126 #define UxPutMnemonicCharSet(sw,val) \
127 UxPUT_string(sw,UxP_RowColumnRD_mnemonicCharSet,"mnemonicCharSet",val)
128 #endif
129
130 #ifndef UxGetMnemonic
131 extern binptr UxP_RowColumnRD_mnemonic;
132 #define UxGetMnemonic(sw) \
133 UxGET_string(sw,UxP_RowColumnRD_mnemonic,"mnemonic")
134 #define UxPutMnemonic(sw,val) \
135 UxPUT_string(sw,UxP_RowColumnRD_mnemonic,"mnemonic",val)
136 #endif
137
138 #ifndef UxGetMenuPost
139 extern binptr UxP_RowColumnRD_menuPost;
140 #define UxGetMenuPost(sw) \
141 UxGET_string(sw,UxP_RowColumnRD_menuPost,"menuPost")
142 #define UxPutMenuPost(sw,val) \
143 UxPUT_string(sw,UxP_RowColumnRD_menuPost,"menuPost",val)
144 #endif
145
146 #ifndef UxGetMenuHistory
147 extern binptr UxP_RowColumnRD_menuHistory;
148 #define UxGetMenuHistory(sw) \
149 UxGET_string(sw,UxP_RowColumnRD_menuHistory,"menuHistory")
150 #define UxPutMenuHistory(sw,val) \
151 UxPUT_string(sw,UxP_RowColumnRD_menuHistory,"menuHistory",val)
152 #endif
153
154 #ifndef UxGetMenuHelpWidget
155 extern binptr UxP_RowColumnRD_menuHelpWidget;
156 #define UxGetMenuHelpWidget(sw) \
157 UxGET_string(sw,UxP_RowColumnRD_menuHelpWidget,"menuHelpWidget")
158 #define UxPutMenuHelpWidget(sw,val) \
159 UxPUT_string(sw,UxP_RowColumnRD_menuHelpWidget,"menuHelpWidget",val)
160 #endif
161
162 #ifndef UxGetMenuAccelerator
163 extern binptr UxP_RowColumnRD_menuAccelerator;
164 #define UxGetMenuAccelerator(sw) \
165 UxGET_string(sw,UxP_RowColumnRD_menuAccelerator,"menuAccelerator")
166 #define UxPutMenuAccelerator(sw,val) \
167 UxPUT_string(sw,UxP_RowColumnRD_menuAccelerator,"menuAccelerator",val)
168 #endif
169
170 #ifndef UxGetMarginWidth
171 extern binptr UxP_RowColumnRD_marginWidth;
172 #define UxGetMarginWidth(sw) \
173 UxGET_int(sw,UxP_RowColumnRD_marginWidth,"marginWidth")
174 #define UxPutMarginWidth(sw,val) \
175 UxPUT_int(sw,UxP_RowColumnRD_marginWidth,"marginWidth",val)
176 #endif
177
178 #ifndef UxGetMarginHeight
179 extern binptr UxP_RowColumnRD_marginHeight;
180 #define UxGetMarginHeight(sw) \
181 UxGET_int(sw,UxP_RowColumnRD_marginHeight,"marginHeight")
182 #define UxPutMarginHeight(sw,val) \
183 UxPUT_int(sw,UxP_RowColumnRD_marginHeight,"marginHeight",val)
184 #endif
185
186 #ifndef UxGetLabelString
187 extern binptr UxP_RowColumnRD_labelString;
188 #define UxGetLabelString(sw) \
189 UxGET_string(sw,UxP_RowColumnRD_labelString,"labelString")
190 #define UxPutLabelString(sw,val) \
191 UxPUT_string(sw,UxP_RowColumnRD_labelString,"labelString",val)
192 #endif
193
194 #ifndef UxGetIsHomogeneous
195 extern binptr UxP_RowColumnRD_isHomogeneous;
196 #define UxGetIsHomogeneous(sw) \
197 UxGET_string(sw,UxP_RowColumnRD_isHomogeneous,"isHomogeneous")
198 #define UxPutIsHomogeneous(sw,val) \
199 UxPUT_string(sw,UxP_RowColumnRD_isHomogeneous,"isHomogeneous",val)
200 #endif
201
202 #ifndef UxGetIsAligned
203 extern binptr UxP_RowColumnRD_isAligned;
204 #define UxGetIsAligned(sw) \
205 UxGET_string(sw,UxP_RowColumnRD_isAligned,"isAligned")
206 #define UxPutIsAligned(sw,val) \
207 UxPUT_string(sw,UxP_RowColumnRD_isAligned,"isAligned",val)
208 #endif
209
210 #ifndef UxGetEntryVerticalAlignment
211 extern binptr UxP_RowColumnRD_entryVerticalAlignment;
212 #define UxGetEntryVerticalAlignment(sw) \
213 UxGET_string(sw,UxP_RowColumnRD_entryVerticalAlignment,"entryVerticalAlignment")
214 #define UxPutEntryVerticalAlignment(sw,val) \
215 UxPUT_string(sw,UxP_RowColumnRD_entryVerticalAlignment,"entryVerticalAlignment",val)
216 #endif
217
218 #ifndef UxGetEntryClass
219 extern binptr UxP_RowColumnRD_entryClass;
220 #define UxGetEntryClass(sw) \
221 UxGET_string(sw,UxP_RowColumnRD_entryClass,"entryClass")
222 #define UxPutEntryClass(sw,val) \
223 UxPUT_string(sw,UxP_RowColumnRD_entryClass,"entryClass",val)
224 #endif
225
226 #ifndef UxGetEntryBorder
227 extern binptr UxP_RowColumnRD_entryBorder;
228 #define UxGetEntryBorder(sw) \
229 UxGET_int(sw,UxP_RowColumnRD_entryBorder,"entryBorder")
230 #define UxPutEntryBorder(sw,val) \
231 UxPUT_int(sw,UxP_RowColumnRD_entryBorder,"entryBorder",val)
232 #endif
233
234 #ifndef UxGetEntryAlignment
235 extern binptr UxP_RowColumnRD_entryAlignment;
236 #define UxGetEntryAlignment(sw) \
237 UxGET_string(sw,UxP_RowColumnRD_entryAlignment,"entryAlignment")
238 #define UxPutEntryAlignment(sw,val) \
239 UxPUT_string(sw,UxP_RowColumnRD_entryAlignment,"entryAlignment",val)
240 #endif
241
242 #ifndef UxGetAdjustMargin
243 extern binptr UxP_RowColumnRD_adjustMargin;
244 #define UxGetAdjustMargin(sw) \
245 UxGET_string(sw,UxP_RowColumnRD_adjustMargin,"adjustMargin")
246 #define UxPutAdjustMargin(sw,val) \
247 UxPUT_string(sw,UxP_RowColumnRD_adjustMargin,"adjustMargin",val)
248 #endif
249
250 #ifndef UxGetAdjustLast
251 extern binptr UxP_RowColumnRD_adjustLast;
252 #define UxGetAdjustLast(sw) \
253 UxGET_string(sw,UxP_RowColumnRD_adjustLast,"adjustLast")
254 #define UxPutAdjustLast(sw,val) \
255 UxPUT_string(sw,UxP_RowColumnRD_adjustLast,"adjustLast",val)
256 #endif
257
258 extern Class_t UxC_rowColumn;
259 #define UxCreateRowColumn(name,parent) \
260 UxCreateSwidget(UxC_rowColumn,name,parent)
261 #else
262 #define UxCreateRowColumn(name,parent) \
263 UxCreateSwidget(name,xmRowColumnWidgetClass,parent)
264 #endif
265 #endif