File: Xcb.ad.base

package info (click to toggle)
xcb 2.4-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 312 kB
  • sloc: ansic: 4,121; makefile: 16
file content (88 lines) | stat: -rw-r--r-- 2,943 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

! Xcb application defaults resource file.
! ======================================================================

#ifdef ATHENA
! The xcb widget hierarchy consists of a number of custom buffer
! widgets contained within a single Athena form widget.
! The widget names and classes are as follows:
!
! buffer widgets    name = "buffer<NN>"    class = "Buffer"
! form widget       name = "container"     class = "Form"
#endif
#ifdef MOTIF
! The xcb widget hierarchy consists of a number of custom buffer
! widgets each enclosed by its own Motif frame widget.  The frame
! widgets are all contained within a single Motif RowColumn widget.
! The widget names and classes are as follows:
!
! buffer widgets    name = "buffer<NN>"    class = "Buffer"
! frame widgets     name = "frame<NN>"     class = "XmFrame"
! rowcolumn widget  name = "container"     class = "XmRowColumn"
#endif

! Buffer widgets are numbered from 0... onwards, and are named accordingly.
! As well as the standard core resources, each buffer widget supports
! resources for "foreground" and "fontSet".

! Application wide resources are as follows:
!
! "bufferCount" (default value 8)
!    This is the number of buffer widgets to create.
!    Any number of widgets (greater than zero) can be created.
!
! "layout" (default value "h")
!    Only the first character of the resource value is significant.
!    This is the geometry arrangement to apply in the container widget.
!    The layout can be "h" (horizontal), "v" (vertical), or some
!    other value to disable the inbuilt geometry code and specify
!    the layout via your X resources.

Xcb.bufferCount:		8
Xcb.layout:			horizontal
Xcb*fontSet:			fixed
Xcb*borderWidth:		1
Xcb*Buffer.width:		60
Xcb*Buffer.height:		60

#ifdef ATHENA
Xcb*container.defaultDistance:	0
#endif

#ifdef	MOTIF
!Xcb*XmFrame*shadowType:	SHADOW_ETCHED_IN
Xcb*XmFrame*shadowType:		SHADOW_IN

! The Motif RowColumn widget permits many layout schemes.
! For example, vary the '*numColumns' value for multiple rows/columns.
! Refer to the "Motif Programmers Reference Guide" for full details.
!
!Xcb.container*orientation:	HORIZONTAL
Xcb.container*packing:		PACK_COLUMN
Xcb.container*numColumns:	1
Xcb.container.marginWidth:	1
Xcb.container.marginHeight:	1
Xcb.container.spacing:		2
#endif

#ifdef	ATHENA
! Below is an example of a layout scheme which arranges
! 10 cut buffer widgets in two rows of 5 windows.
! Refer to the "Athena Widget Set" manual for full details.
!
!Xcb.bufferCount:		10
!Xcb.layout:			custom
!Xcb*buffer1.fromHoriz:		buffer0
!Xcb*buffer2.fromHoriz:		buffer1
!Xcb*buffer3.fromHoriz:		buffer2
!Xcb*buffer4.fromHoriz:		buffer3
!Xcb*buffer5.fromVert:		buffer0
!Xcb*buffer6.fromHoriz:		buffer5
!Xcb*buffer6.fromVert:		buffer1
!Xcb*buffer7.fromHoriz:		buffer6
!Xcb*buffer7.fromVert:		buffer2
!Xcb*buffer8.fromHoriz:		buffer7
!Xcb*buffer8.fromVert:		buffer3
!Xcb*buffer9.fromHoriz:		buffer8
!Xcb*buffer9.fromVert:		buffer4
#endif