Application header file | <X11/Xraw/Separator.h> |
Class header file | <X11/Xraw/SeparatorP.h> |
Class | separatorWidgetClass |
Class Name | Separator |
Superclass | Simple --> Core |
    The Separator widget is a simple widget that separates items in a display. It has horizontal or vertical orientation, and different style for drawing line.
Name | Class | Type | Notes | Default Value |
---|---|---|---|---|
orientation | Orientation | XtOrientation | CSG | XtorientHorizontal |
margin | Margin | Dimension | CSG | 1 |
separatorType | SeparatorType | XawSeparatorType | CSG | XawSHADOW_ETCHED_IN |
orientation |
Specifies the orientation to draw the separator line. This value can be either
XtorientVertical or
XtorientHorizontal .
In resource file it must be Separator*Orientation:vertical or
Separator*Orientation:horizontal.
|
---|---|
margin | Specifies the amount of space, in pixels, to leave between the separator line and the Separator widget edge. |
separatorType |
Specifies the drawing style of the separator line. This value can be one from
XawSINGLE_LINE ,
XawDOUBLE_LINE ,
XawSHADOW_ETCHED_IN or
XawSHADOW_ETCHED_OUT .
In resource file it must be Separator*SeparatorType:singleLine , Separator*SeparatorType:doubleLine , Separator*SeparatorType:shadowEtchedIn or Separator*SeparatorType:shadowEtchedOut (case insensitive). |
Simple class resources | ||||
---|---|---|---|---|
Name | Class | Type | Notes | Default Value |
bottomShadowPixel | BottomShadowPixel | Pixel | CSG | Dinamic |
bottomShadowPixmap | BottomShadowPixmap | Pixmap | CSG | UnspecifiedPixmap |
cursor | Cursor | Cursor | CSG | None |
cursorName | CursorName | String | C | NULL |
highlightPixel | highlightPixel | Pixel | CSG | Dinamic |
highlightPixmap | highlightPixmap | Pixmap | CSG | UnspecifiedPixmap |
highlightThickness | HighlightThickness | Dimension | CSG | 2 |
insensitiveBorder | Insensitive | Pixmap | CSG | None**GreyPixmap |
foreground | Foreground | Pixel | CSG | XtDefaultForeground |
shadowWidth | ShadowWidth | Dimension | CSG | 0 |
topShadowPixmap | TopShadowPixmap | Pixmap | CSG | UnspecifiedPixmap |
topShadowPixel | TopShadowPixel | Pixel | CSG | Dinamic |
userData | UserData | XtPointer | CSG | NULL |
  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 | Dinamic |
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 | Dinamic |
x | Position | Position | CSG | 0 |
y | Position | Position | CSG | 0 |
borderWidth | The default value of this resource is overwritten by the Simple widget, the Core's original default value is 1. | height width |
The Separator widget support shrink-wrapping behavior. The default value of this resource is 8 + 2 * (shadowWidth + highlightThickness). The Core's original default value is 0. |
---|
[ Xraw home ]   [ Xraw widget class hierarchy ]