An application usually uses a Frame to provide a shadow for a widget, such as a RowColumn WorkArea, that does not display a shadow itself. The Frame resource XmNshadowType determines the type of shadow to draw. The resources XmNmarginHeight and XmNmarginWidth specify the margin between the shadow and the border of the child.
Frame can also have one other child that serves as a title.
Frame places the title above the principal child of the Frame. The value is a constant that tells the Frame whether the child is the work area child, the title, or another kind of child. This is the default. This value specifies that the child is the Frame title. This value specifies that the child is a component other than the work area and the title.