Next | Prev | Up | Top | Contents | Index
Decorative Widgets
Simple decorative widgets include xmFrame and xmSeparator. The former is simply a container widget that displays a frame around its child, using in-and-out shadowing or etching. The later is a primitive widget that looks like a flat or beveled line, used to separate items in a display. These two widget classes do not accept user input, so they have no associated actions, callbacks, or translations.
The decoration resources for xmFrame are listed in Table 4-29.
xmFrame Resources
Resource Name | Default Value | Type or Legal Values |
---|
-marginWidth | 0 | Dimension |
-marginHeight | 0 | Dimension |
-shadowType | dynamic | shadow_in shadow_out shadow_etched_in shadow_etched_out |
The decoration resources for xmSeparator are listed in Table 4-30.
xmSeparator Resources
Resource Name | Default Value | Type or Legal Values |
---|
-margin | 0 | Dimension |
-orientation | horizontal | horizontal vertical |
-separatorType | shadow_etched_in | shadow_etched_in shadow_etched_out no_line single_line double_line single_dashed_line double_dashed_line |
Decorative widgets inherit resources from the Core and Primitive classes, as shown in Table 4-31.
Decorative Widget Inherited Resources
Resource Inherited | From | | Resource Inherited | From |
---|
-backgroundPixmap | (Core) | | -background | (Core) |
-borderColor | (Core) | | -borderWidth | (Core) |
-bottomShadowColor | (Primitive) | | -bottomShadowPixmap | (Primitive) |
-foreground | (Primitive) | | -height | (Core) |
-mappedWhenManaged | (Core) | | -shadowThickness | (Primitive) |
-topShadowColor | (Primitive) | | -topShadowPixmap | (Primitive) |
-unitType | (Primitive) | | -width | (Core) |
-x | (Core) | | -y | (Core) |
Next | Prev | Up | Top | Contents | Index