| 279 (XtExposeProc)grid_expose, // expose |
279 (XtExposeProc)grid_expose, // expose |
| 280 grid_set_values, // set_values |
280 grid_set_values, // set_values |
| 281 NULL, // set_values_hook |
281 NULL, // set_values_hook |
| 282 XtInheritSetValuesAlmost, // set_values_almost |
282 XtInheritSetValuesAlmost, // set_values_almost |
| 283 NULL, // get_values_hook |
283 NULL, // get_values_hook |
| 284 (XtAcceptFocusProc)grid_acceptfocus, // accept_focus |
284 (XtAcceptFocusProc)NULL, // accept_focus |
| 285 XtVersion, // version |
285 XtVersion, // version |
| 286 NULL, // callback_offsets |
286 NULL, // callback_offsets |
| 287 //NULL, // tm_table |
287 //NULL, // tm_table |
| 288 defaultTranslations, |
288 XtInheritTranslations, //defaultTranslations, |
| 289 XtInheritQueryGeometry, // query_geometry |
289 XtInheritQueryGeometry, // query_geometry |
| 290 NULL, // display_accelerator |
290 NULL, // display_accelerator |
| 291 NULL, // extension |
291 NULL, // extension |
| 292 }, |
292 }, |
| 293 // Composite Class |
293 // Composite Class |
| 340 |
340 |
| 341 } |
341 } |
| 342 void grid_realize(Widget w,XtValueMask *valueMask,XSetWindowAttributes *attributes) { |
342 void grid_realize(Widget w,XtValueMask *valueMask,XSetWindowAttributes *attributes) { |
| 343 Grid grid = (Grid)w; |
343 Grid grid = (Grid)w; |
| 344 XtMakeResizeRequest(w, 400, 400, NULL, NULL); |
344 XtMakeResizeRequest(w, 400, 400, NULL, NULL); |
| 345 (coreClassRec.core_class.realize)((Widget)w, valueMask, attributes); |
345 (*xmManagerClassRec.core_class.realize)(w, valueMask, attributes); |
| 346 grid_place_children(grid); |
346 grid_place_children(grid); |
| 347 } |
347 } |
| 348 |
348 |
| 349 |
349 |
| 350 void grid_destroy(Grid widget) { |
350 void grid_destroy(Grid widget) { |
| 361 |
361 |
| 362 Boolean grid_set_values(Widget old, Widget request, Widget neww, ArgList args, Cardinal *num_args) { |
362 Boolean grid_set_values(Widget old, Widget request, Widget neww, ArgList args, Cardinal *num_args) { |
| 363 return False; |
363 return False; |
| 364 } |
364 } |
| 365 |
365 |
| 366 Boolean grid_acceptfocus(Widget w, Time *t) { |
|
| 367 |
|
| 368 } |
|
| 369 |
366 |
| 370 void grid_getfocus(Widget myw, XEvent *event, String *params, Cardinal *nparam) { |
367 void grid_getfocus(Widget myw, XEvent *event, String *params, Cardinal *nparam) { |
| 371 |
368 |
| 372 } |
369 } |
| 373 |
370 |