| 1 |
|
| 2 |
! Xcb application defaults resource file. |
| 3 |
! ====================================================================== |
| 4 |
|
| 5 |
#ifdef ATHENA |
| 6 |
! The xcb widget hierarchy consists of a number of custom buffer |
| 7 |
! widgets contained within a single Athena form widget. |
| 8 |
! The widget names and classes are as follows: |
| 9 |
! |
| 10 |
! buffer widgets name = "buffer<NN>" class = "Buffer" |
| 11 |
! form widget name = "container" class = "Form" |
| 12 |
#endif |
| 13 |
#ifdef MOTIF |
| 14 |
! The xcb widget hierarchy consists of a number of custom buffer |
| 15 |
! widgets each enclosed by its own Motif frame widget. The frame |
| 16 |
! widgets are all contained within a single Motif RowColumn widget. |
| 17 |
! The widget names and classes are as follows: |
| 18 |
! |
| 19 |
! buffer widgets name = "buffer<NN>" class = "Buffer" |
| 20 |
! frame widgets name = "frame<NN>" class = "XmFrame" |
| 21 |
! rowcolumn widget name = "container" class = "XmRowColumn" |
| 22 |
#endif |
| 23 |
|
| 24 |
! Buffer widgets are numbered from 0... onwards, and are named accordingly. |
| 25 |
! As well as the standard core resources, each buffer widget supports |
| 26 |
! resources for "foreground" and "fontSet". |
| 27 |
|
| 28 |
! Application wide resources are as follows: |
| 29 |
! |
| 30 |
! "bufferCount" (default value 8) |
| 31 |
! This is the number of buffer widgets to create. |
| 32 |
! Any number of widgets (greater than zero) can be created. |
| 33 |
! |
| 34 |
! "layout" (default value "h") |
| 35 |
! Only the first character of the resource value is significant. |
| 36 |
! This is the geometry arrangement to apply in the container widget. |
| 37 |
! The layout can be "h" (horizontal), "v" (vertical), or some |
| 38 |
! other value to disable the inbuilt geometry code and specify |
| 39 |
! the layout via your X resources. |
| 40 |
|
| 41 |
Xcb.bufferCount: 8 |
| 42 |
Xcb.layout: horizontal |
| 43 |
Xcb*fontSet: fixed |
| 44 |
Xcb*borderWidth: 1 |
| 45 |
Xcb*Buffer.width: 60 |
| 46 |
Xcb*Buffer.height: 60 |
| 47 |
|
| 48 |
#ifdef ATHENA |
| 49 |
Xcb*container.defaultDistance: 0 |
| 50 |
#endif |
| 51 |
|
| 52 |
#ifdef MOTIF |
| 53 |
!Xcb*XmFrame*shadowType: SHADOW_ETCHED_IN |
| 54 |
Xcb*XmFrame*shadowType: SHADOW_IN |
| 55 |
|
| 56 |
! The Motif RowColumn widget permits many layout schemes. |
| 57 |
! For example, vary the '*numColumns' value for multiple rows/columns. |
| 58 |
! Refer to the "Motif Programmers Reference Guide" for full details. |
| 59 |
! |
| 60 |
!Xcb.container*orientation: HORIZONTAL |
| 61 |
Xcb.container*packing: PACK_COLUMN |
| 62 |
Xcb.container*numColumns: 1 |
| 63 |
Xcb.container.marginWidth: 1 |
| 64 |
Xcb.container.marginHeight: 1 |
| 65 |
Xcb.container.spacing: 2 |
| 66 |
#endif |
| 67 |
|
| 68 |
#ifdef ATHENA |
| 69 |
! Below is an example of a layout scheme which arranges |
| 70 |
! 10 cut buffer widgets in two rows of 5 windows. |
| 71 |
! Refer to the "Athena Widget Set" manual for full details. |
| 72 |
! |
| 73 |
!Xcb.bufferCount: 10 |
| 74 |
!Xcb.layout: custom |
| 75 |
!Xcb*buffer1.fromHoriz: buffer0 |
| 76 |
!Xcb*buffer2.fromHoriz: buffer1 |
| 77 |
!Xcb*buffer3.fromHoriz: buffer2 |
| 78 |
!Xcb*buffer4.fromHoriz: buffer3 |
| 79 |
!Xcb*buffer5.fromVert: buffer0 |
| 80 |
!Xcb*buffer6.fromHoriz: buffer5 |
| 81 |
!Xcb*buffer6.fromVert: buffer1 |
| 82 |
!Xcb*buffer7.fromHoriz: buffer6 |
| 83 |
!Xcb*buffer7.fromVert: buffer2 |
| 84 |
!Xcb*buffer8.fromHoriz: buffer7 |
| 85 |
!Xcb*buffer8.fromVert: buffer3 |
| 86 |
!Xcb*buffer9.fromHoriz: buffer8 |
| 87 |
!Xcb*buffer9.fromVert: buffer4 |
| 88 |
#endif |