Application Header file | <Xraw/Frame.h> |
---|---|
Class Header file | <Xraw/FrameP.h> |
Class | frameWidgetClass |
Class Name | Frame |
Superclass | Container --> Constraint --> Composit --> Core |
    The Frame widget is a simple manager intened to fulfil a geometry location its children using the fraction method and to paint aesthetic border around itself.
    The picture presents the Frame widget making the fraction geometry managment policy for its five children, each of which is too the Frame making the simple geometry managment policy for its own child (the Label widget).
Name | Class | Type | Notes | Default Value |
---|---|---|---|---|
hSpace | HSpace | Dimension | CSG | 4 |
layoutPolicy | LayoutPolicy | XawLayoutPolicy | CG | XawSINGLE |
frameType | FrameType | XawFrameType | CSG | XawCHISELED |
vSpace | VSpace | Dimension | CSG | 4 |
xFraction | Fraction | int | CSG | 100 |
yFraction | Fraction | int | CSG | 100 |
hSpace vSpace |
Specifies the amount of space left between the outermost children and the edge of the Frame widget. | ||||||
---|---|---|---|---|---|---|---|
layoutPolicy |
Specifies how children widgets will be located on the Frame widget.
|
||||||
xFraction yFraction |
Specifies the count of fractions that horizontal or vertical space of the Frame widget will devided on. | ||||||
frameType |
Specifies the type of border will be used to enclose space of the Frame widget.
The value may be one of these: XawRAISED ,
XawSUNKEN ,
XawCHISELED ,
XawLEDGED ,
XawTACK .
|
Container class resources | ||||
---|---|---|---|---|
Name | Class | Type | Notes | Default Value |
bottomShadowPixel | BottomShadowPixel | Pixel | CSG | Dinamic |
bottomShadowPixmap | BottomShadowPixmap | Pixmap | CSG | UnspecifiedPixmap |
shadowWidth | ShadowWidth | Dimension | CSG | 0 |
topShadowPixmap | TopShadowPixmap | Pixmap | CSG | UnspecifiedPixmap |
topShadowPixel | TopShadowPixel | Pixel | CSG | Dinamic |
userData | UserData | XtPointer | CSG | NULL |
  Composit class resources |
||||
Name | Class | Type | Notes | Default Value |
children | ReadOnly | WidgetList | G | NULL |
insertPosition | InsertPosition | XtOrderProc | CSG | Insert new children at the end of the child list |
numChildren | ReadOnly | Cardinal | G | 0 |
  Core class resources |
||||
Name | Class | Type | Notes | Default Value |
accelerators | Accelerators | XtAccelerators | CSG | NULL |
ancestorSensitive | AncestorSensitive | Boolean | G | True |
background | Background | Pixel | CSG | XtDefaultBackground |
backgroundPixmap | Pixmap | Pixmap | CSG | XtUnspecifiedPixmap |
borderColor | BorderColor | Pixel | CSG | XtDefaultForeground |
borderPixmap | Pixmap | Pixmap | CSG | XtUnspecifiedPixmap |
borderWidth | BorderWidth | Dimension | CSG | 0 |
colormap | Colormap | Colormap | CG | Parent's Colormap |
depth | Depth | int | CG | Parent's Depth |
destroyCallback | Callback | XtCallbackList | C | NULL |
height | Height | Dimension | CSG | 0 |
initialResourcesPersistent | InitialResourcesPersistent | Boolean | C | True |
mappedWhenManaged | MappedWhenManaged | Boolean | CSG | True |
screen | Screen | Screen | CG | Parent's Screen |
sensitive | Sensitive | Boolean | CSG | True |
translations | Translations | XtTranslations | CSG | NULL |
width | Width | Dimension | CSG | 0 |
x | Position | Position | CSG | 0 |
y | Position | Position | CSG | 0 |
Name | Class | Type | Notes | Default Value |
---|---|---|---|---|
bottom | Fraction | int | CSG | 1 |
left | Fraction | int | CSG | 0 |
right | Fraction | int | CSG | 1 |
top | Fraction | int | CSG | 0 |
bottom left right top |
What fraction of the Frame widget this edge of the child should be placed to
when the parent is resized. This resource may be any integet number from 0 till xFraction for
left and right, and
from 0 till yFraction for
top and bottom.
Look the example.
|
---|
[ Xraw home ]   [ Xraw widget class hierarchy ]