Debian Codegraph @

src/gtk2/widgets/notebook

raw
1 style "notebook_tab_label"
2 {
3 fg[ACTIVE] = @fg_color
4 }
5
6
7 style "notebook"
8 {
9
10 xthickness = 5
11 ythickness = 2
12
13 engine "pixmap"
14 {
15 image
16 {
17 function = EXTENSION
18 state = ACTIVE
19 file = "../assets/tab-bottom-inactive.png"
20 border = { 3,3,3,3 }
21 stretch = TRUE
22 gap_side = TOP
23 }
24 image
25 {
26 function = EXTENSION
27 state = ACTIVE
28 file = "../assets/tab-top-inactive.png"
29 border = { 3,3,3,3 }
30 stretch = TRUE
31 gap_side = BOTTOM
32 }
33 image
34 {
35 function = EXTENSION
36 state = ACTIVE
37 file = "../assets/tab-left-inactive.png"
38 border = { 3,3,3,3 }
39 stretch = TRUE
40 gap_side = RIGHT
41 }
42 image
43 {
44 function = EXTENSION
45 state = ACTIVE
46 file = "../assets/tab-right-inactive.png"
47 border = { 3,3,3,3 }
48 stretch = TRUE
49 gap_side = LEFT
50 }
51 image
52 {
53 function = EXTENSION
54 file = "../assets/tab-top-active.png"
55 border = { 3,3,3,3 }
56 stretch = TRUE
57 gap_side = BOTTOM
58 }
59 image
60 {
61 function = EXTENSION
62 file = "../assets/tab-bottom-active.png"
63 border = { 3,3,3,3 }
64 stretch = TRUE
65 gap_side = TOP
66 }
67 image
68 {
69 function = EXTENSION
70 file = "../assets/tab-left-active.png"
71 border = { 3,3,3,3 }
72 stretch = TRUE
73 gap_side = RIGHT
74 }
75 image
76 {
77 function = EXTENSION
78 file = "../assets/tab-right-active.png"
79 border = { 3,3,3,3 }
80 stretch = TRUE
81 gap_side = LEFT
82 }
83
84 # How to draw boxes with a gap on one side (ie the page of a notebook)
85
86 image
87 {
88 function = BOX_GAP
89 file = "../assets/notebook-frame-top.png"
90 border = { 4, 4, 4, 4 }
91 stretch = TRUE
92 gap_file = "../assets/notebook-gap-horizontal.png"
93 gap_border = { 1, 1, 0, 0 }
94 gap_side = TOP
95 }
96 image
97 {
98 function = BOX_GAP
99 file = "../assets/notebook-frame-bottom.png"
100 border = { 4, 4, 4, 4 }
101 stretch = TRUE
102 gap_file = "../assets/notebook-gap-horizontal.png"
103 gap_border = { 1, 1, 0, 0 }
104 gap_side = BOTTOM
105 }
106 image
107 {
108 function = BOX_GAP
109 file = "../assets/notebook-frame-top.png"
110 border = { 4, 4, 4, 4 }
111 stretch = TRUE
112 gap_file = "../assets/notebook-gap-vertical.png"
113 gap_border = { 0, 0, 1, 1 }
114 gap_side = LEFT
115 }
116 image
117 {
118 function = BOX_GAP
119 file = "../assets/notebook-frame-right.png"
120 border = { 4, 4, 4, 4 }
121 stretch = TRUE
122 gap_file = "../assets/notebook-gap-vertical.png"
123 gap_border = { 0, 0, 1, 1 }
124 gap_side = RIGHT
125 }
126
127 # How to draw the box of a notebook when it isnt attached to a tab
128
129 image
130 {
131 function = BOX
132 file = "../assets/frame.png"
133 border = { 4, 4, 4, 4 }
134 stretch = TRUE
135 }
136 }
137 }
138