1 #ifndef _XedwForm_h 2 #define _XedwForm_h 3 4 #include <X11/Constraint.h> 5 #include <X11/Xaw/Form.h> 6 7 /*********************************************************************** 8 * 9 * XedwForm Widget 10 * 11 ***********************************************************************/ 12 13 /* Parameters: 14 15 Name Class RepType Default Value 16 ---- ----- ------- ------------- 17 background Background Pixel XtDefaultBackground 18 border BorderColor Pixel XtDefaultForeground 19 borderWidth BorderWidth Dimension 1 20 defaultDistance Thickness int 4 21 destroyCallback Callback Pointer NULL 22 height Height Dimension computed at realize 23 mappedWhenManaged MappedWhenManaged Boolean True 24 sensitive Sensitive Boolean True 25 width Width Dimension computed at realize 26 x Position Position 0 27 y Position Position 0 28 29 */ 30 31 /* Constraint parameters: 32 33 Name Class RepType Default Value 34 ---- ----- ------- ------------- 35 bottom Edge XtEdgeType XtRubber 36 fromHoriz Widget Widget (left edge of xedwForm) 37 fromVert Widget Widget (top of xedwForm) 38 fullHeight Boolean Boolean False 39 fullWidth Boolean Boolean False 40 horizDistance Thickness int defaultDistance 41 left Edge XtEdgeType XtRubber 42 resizable Boolean Boolean False 43 right Edge XtEdgeType XtRubber 44 rubberHeight Boolean Boolean True 45 rubberWidth Boolean Boolean True 46 top Edge XtEdgeType XtRubber 47 vertDistance Thickness int defaultDistance 48 widthLinked Widget Widget NULL 49 heightLinked Widget Widget NULL 50 51 */ 52 53 54 55 #define XtNfullHeight "fullHeight" 56 #define XtNfullWidth "fullWidth" 57 #define XtNrubberHeight "rubberHeight" 58 #define XtNrubberWidth "rubberWidth" 59 #define XtNwidthLinked "widthLinked" 60 #define XtNheightLinked "heightLinked" 61 62 typedef struct _XedwFormClassRec *XedwFormWidgetClass; 63 typedef struct _XedwFormRec *XedwFormWidget; 64 65 extern WidgetClass xedwFormWidgetClass; 66 67 extern void XedwFormDoLayout( 68 #if NeedFunctionPrototypes 69 Widget, Boolean 70 #endif 71 ); /* Boolean doit */ 72 73 74 #endif /* _XedwForm_h */ 75