Debian Codegraph @

src/gtk2/widgets/default

raw
1 gtk-auto-mnemonics = 1
2
3 style "default"
4 {
5 xthickness = 1
6 ythickness = 1
7
8 # Style Properties
9
10 GtkScrollbar::activate-slider = 1
11 GtkWidget::focus-line-width = 0
12 GtkWidget::new-tooltip-style = 1
13 GtkWidget::tooltip-alpha = 230
14 GtkWidget::tooltip-radius = 2
15 GtkMenuBar::window-dragging = 1
16 GtkToolbar::window-dragging = 1
17 GtkToolbar::internal-padding = 5
18 GtkToolButton::icon-spacing = 4
19
20 GtkSeparatorMenuItem::horizontal-padding = 3
21 GtkSeparatorMenuItem::wide-separators = 1
22 GtkSeparatorMenuItem::separator-height = 1
23
24 GtkCheckMenuItem::indicator-size = 18
25 GtkRadioMenuItem::indicator-size = 18
26
27 GtkButton::child-displacement-y = 0
28 GtkButton::default-border = { 0, 0, 0, 0 }
29 GtkButton::default-outside_border = { 0, 0, 0, 0 }
30
31 GtkScrollbar::trough-border = 0
32 GtkScrollbar::slider-width = 20
33 GtkRange::trough-border = 0
34 GtkRange::slider-width = 7
35 GtkRange::stepper-size = 0
36
37 GtkScrollbar::has-backward-stepper = 1
38 GtkScrollbar::has-forward-stepper = 1
39 GtkScrollbar::stepper-size = 4
40 GtkScrollbar::stepper-spacing = 0
41 GtkScrolledWindow ::scrollbar-spacing = 0
42 GtkScrolledWindow ::scrollbars-within-bevel = 1
43
44 GtkVScale::slider_length = 20
45 GtkVScale::slider_width = 20
46 GtkHScale::slider_length = 20
47 GtkHScale::slider_width = 20
48
49 GtkStatusbar::shadow_type = GTK_SHADOW_NONE
50 GtkSpinButton::shadow_type = GTK_SHADOW_NONE
51 GtkMenuBar::shadow-type = GTK_SHADOW_NONE
52 GtkMenuBar::internal-padding = 3
53 GtkMenu::horizontal-padding = 0
54 GtkMenu::vertical-padding = 0
55
56 GtkNotebook::tab-overlap = 1
57 GtkNotebook::tab-curvature = 3
58
59 GtkCheckButton::indicator_spacing = 3
60 #GtkOptionMenu::indicator_spacing = { 0, 0, 0, 0 }
61
62 GtkTreeView::row_ending_details = 0
63 GtkTreeView::expander-size = 12
64 GtkTreeView::vertical-separator = 1
65 GtkTreeView::horizontal-separator = 4
66 GtkTreeView::allow-rules = 1
67
68 GtkProgressBar::min-horizontal-bar-height = 8
69 GtkProgressBar::min-vertical-bar-width = 8
70
71 GtkEntry::state-hint = 1
72
73 # Colors
74
75 bg[NORMAL] = @bg_color
76 bg[PRELIGHT] = @bg_color
77 bg[SELECTED] = @selected_bg_color
78 bg[INSENSITIVE] = @bg_color
79 bg[ACTIVE] = @bg_color
80
81 fg[NORMAL] = @fg_color
82 fg[PRELIGHT] = @fg_color
83 fg[SELECTED] = @selected_fg_color
84 fg[INSENSITIVE] = @insensitive_fg_color
85 fg[ACTIVE] = @fg_color
86
87 text[NORMAL] = @text_color
88 text[PRELIGHT] = @text_color
89 text[SELECTED] = @selected_fg_color
90 text[INSENSITIVE] = @insensitive_text_color
91 text[ACTIVE] = @selected_fg_color
92
93 base[NORMAL] = @base_color
94 base[PRELIGHT] = @base_color
95 base[SELECTED] = @selected_bg_color
96 base[INSENSITIVE] = @bg_color
97 base[ACTIVE] = @selected_bg_color
98
99 # All pixmap options are consolidated below this point
100
101 engine "pixmap"
102 {
103
104 # Check Buttons
105
106 image
107 {
108 function = CHECK
109 recolorable = TRUE
110 state = NORMAL
111 shadow = OUT
112 overlay_file = "../assets/check-unchecked.png"
113 overlay_stretch = FALSE
114 }
115 image
116 {
117 function = CHECK
118 recolorable = TRUE
119 state = PRELIGHT
120 shadow = OUT
121 overlay_file = "../assets/check-unchecked-hover.png"
122 overlay_stretch = FALSE
123 }
124 image
125 {
126 function = CHECK
127 recolorable = TRUE
128 state = ACTIVE
129 shadow = OUT
130 overlay_file = "../assets/check-unchecked-active.png"
131 overlay_stretch = FALSE
132 }
133 image
134 {
135 function = CHECK
136 recolorable = TRUE
137 state = SELECTED
138 shadow = OUT
139 overlay_file = "../assets/check-unchecked.png"
140 overlay_stretch = FALSE
141 }
142 image
143 {
144 function = CHECK
145 recolorable = TRUE
146 state = INSENSITIVE
147 shadow = OUT
148 overlay_file = "../assets/check-unchecked-insensitive.png"
149 overlay_stretch = FALSE
150 }
151 image
152 {
153 function = CHECK
154 recolorable = TRUE
155 state = NORMAL
156 shadow = IN
157 overlay_file = "../assets/check-checked-active.png"
158 overlay_stretch = FALSE
159 }
160 image
161 {
162 function = CHECK
163 recolorable = TRUE
164 state = PRELIGHT
165 shadow = IN
166 overlay_file = "../assets/check-checked-hover.png"
167 overlay_stretch = FALSE
168 }
169 image
170 {
171 function = CHECK
172 recolorable = TRUE
173 state = ACTIVE
174 shadow = IN
175 overlay_file = "../assets/check-checked-active.png"
176 overlay_stretch = FALSE
177 }
178 image
179 {
180 function = CHECK
181 recolorable = TRUE
182 state = SELECTED
183 shadow = IN
184 overlay_file = "../assets/check-checked-active.png"
185 overlay_stretch = FALSE
186 }
187 image
188 {
189 function = CHECK
190 recolorable = TRUE
191 state = INSENSITIVE
192 shadow = IN
193 overlay_file = "../assets/check-checked-insensitive.png"
194 overlay_stretch = FALSE
195 }
196
197 # Radio Buttons
198
199 image
200 {
201 function = OPTION
202 state = NORMAL
203 shadow = OUT
204 overlay_file = "../assets/radio-unchecked.png"
205 overlay_stretch = FALSE
206 }
207 image
208 {
209 function = OPTION
210 state = PRELIGHT
211 shadow = OUT
212 overlay_file = "../assets/radio-unchecked-hover.png"
213 overlay_stretch = FALSE
214 }
215 image
216 {
217 function = OPTION
218 state = ACTIVE
219 shadow = OUT
220 overlay_file = "../assets/radio-unchecked-active.png"
221 overlay_stretch = FALSE
222 }
223 image
224 {
225 function = OPTION
226 state = SELECTED
227 shadow = OUT
228 overlay_file = "../assets/radio-unchecked.png"
229 overlay_stretch = FALSE
230 }
231 image
232 {
233 function = OPTION
234 state = INSENSITIVE
235 shadow = OUT
236 overlay_file = "../assets/radio-unchecked-insensitive.png"
237 overlay_stretch = FALSE
238 }
239 image
240 {
241 function = OPTION
242 state = NORMAL
243 shadow = IN
244 overlay_file = "../assets/radio-checked-active.png"
245 overlay_stretch = FALSE
246 }
247 image
248 {
249 function = OPTION
250 state = PRELIGHT
251 shadow = IN
252 overlay_file = "../assets/radio-checked-hover.png"
253 overlay_stretch = FALSE
254 }
255 image
256 {
257 function = OPTION
258 state = ACTIVE
259 shadow = IN
260 overlay_file = "../assets/radio-checked-active.png"
261 overlay_stretch = FALSE
262 }
263 image
264 {
265 function = OPTION
266 state = SELECTED
267 shadow = IN
268 overlay_file = "../assets/radio-checked-active.png"
269 overlay_stretch = FALSE
270 }
271 image
272 {
273 function = OPTION
274 state = INSENSITIVE
275 shadow = IN
276 overlay_file = "../assets/radio-checked-insensitive.png"
277 overlay_stretch = FALSE
278 }
279
280 # Arrows
281
282 image
283 {
284 function = ARROW
285 state = NORMAL
286 overlay_file = "../assets/arrow-up.png"
287 overlay_border = { 0, 0, 0, 0 }
288 overlay_stretch = FALSE
289 arrow_direction = UP
290 }
291 image
292 {
293 function = ARROW
294 state = PRELIGHT
295 overlay_file = "../assets/arrow-up-hover.png"
296 overlay_border = { 0, 0, 0, 0 }
297 overlay_stretch = FALSE
298 arrow_direction = UP
299 }
300 image
301 {
302 function = ARROW
303 state = ACTIVE
304 overlay_file = "../assets/arrow-up-active.png"
305 overlay_border = { 0, 0, 0, 0 }
306 overlay_stretch = FALSE
307 arrow_direction = UP
308 }
309 image
310 {
311 function = ARROW
312 state = INSENSITIVE
313 overlay_file = "../assets/arrow-up-insensitive.png"
314 overlay_border = { 0, 0, 0, 0 }
315 overlay_stretch = FALSE
316 arrow_direction = UP
317 }
318
319 image
320 {
321 function = ARROW
322 state = NORMAL
323 overlay_file = "../assets/arrow-down.png"
324 overlay_border = { 0, 0, 0, 0 }
325 overlay_stretch = FALSE
326 arrow_direction = DOWN
327 }
328 image
329 {
330 function = ARROW
331 state = PRELIGHT
332 overlay_file = "../assets/arrow-down-hover.png"
333 overlay_border = { 0, 0, 0, 0 }
334 overlay_stretch = FALSE
335 arrow_direction = DOWN
336 }
337 image
338 {
339 function = ARROW
340 state = ACTIVE
341 overlay_file = "../assets/arrow-down-active.png"
342 overlay_border = { 0, 0, 0, 0 }
343 overlay_stretch = FALSE
344 arrow_direction = DOWN
345 }
346
347 image
348 {
349 function = ARROW
350 state = INSENSITIVE
351 overlay_file = "../assets/arrow-down-insensitive.png"
352 overlay_border = { 0, 0, 0, 0 }
353 overlay_stretch = FALSE
354 arrow_direction = DOWN
355 }
356
357 image
358 {
359 function = ARROW
360 state = NORMAL
361 overlay_file = "../assets/arrow-left.png"
362 overlay_border = { 0, 0, 0, 0 }
363 overlay_stretch = FALSE
364 arrow_direction = LEFT
365 }
366 image
367 {
368 function = ARROW
369 state = PRELIGHT
370 overlay_file = "../assets/arrow-left-hover.png"
371 overlay_border = { 0, 0, 0, 0 }
372 overlay_stretch = FALSE
373 arrow_direction = LEFT
374 }
375 image
376 {
377 function = ARROW
378 state = ACTIVE
379 overlay_file = "../assets/arrow-left-active.png"
380 overlay_border = { 0, 0, 0, 0 }
381 overlay_stretch = FALSE
382 arrow_direction = LEFT
383 }
384 image
385 {
386 function = ARROW
387 state = INSENSITIVE
388 overlay_file = "../assets/arrow-left-insensitive.png"
389 overlay_border = { 0, 0, 0, 0 }
390 overlay_stretch = FALSE
391 arrow_direction = LEFT
392 }
393
394 image
395 {
396 function = ARROW
397 state = NORMAL
398 overlay_file = "../assets/arrow-right.png"
399 overlay_border = { 0, 0, 0, 0 }
400 overlay_stretch = FALSE
401 arrow_direction = RIGHT
402 }
403 image
404 {
405 function = ARROW
406 state = PRELIGHT
407 overlay_file = "../assets/arrow-right-hover.png"
408 overlay_border = { 0, 0, 0, 0 }
409 overlay_stretch = FALSE
410 arrow_direction = RIGHT
411 }
412 image
413 {
414 function = ARROW
415 state = ACTIVE
416 overlay_file = "../assets/arrow-right-active.png"
417 overlay_border = { 0, 0, 0, 0 }
418 overlay_stretch = FALSE
419 arrow_direction = RIGHT
420 }
421 image
422 {
423 function = ARROW
424 state = INSENSITIVE
425 overlay_file = "../assets/arrow-right-insensitive.png"
426 overlay_border = { 0, 0, 0, 0 }
427 overlay_stretch = FALSE
428 arrow_direction = RIGHT
429 }
430
431
432 # Option Menu ../assets
433
434 image
435 {
436 function = TAB
437 state = INSENSITIVE
438 overlay_file = "../assets/arrow-down-insensitive.png"
439 overlay_stretch = FALSE
440 }
441 image
442 {
443 function = TAB
444 state = NORMAL
445 overlay_file = "../assets/arrow-down.png"
446 overlay_border = { 0, 0, 0, 0 }
447 overlay_stretch = FALSE
448 }
449 image
450 {
451 function = TAB
452 state = PRELIGHT
453 overlay_file = "../assets/arrow-down.png"
454 overlay_border = { 0, 0, 0, 0 }
455 overlay_stretch = FALSE
456 }
457
458 #Lines
459
460 image
461 {
462 function = VLINE
463 file = "../assets/handle-v.png"
464 border = { 0, 0, 0, 0 }
465 stretch = TRUE
466 }
467 image
468 {
469 function = HLINE
470 file = "../assets/line-h.png"
471 border = { 0, 0, 0, 0 }
472 stretch = TRUE
473 }
474
475 # Handles
476
477 image
478 {
479 function = HANDLE
480 overlay_file = "../assets/handle-h.png"
481 overlay_stretch = FALSE
482 orientation = HORIZONTAL
483 }
484 image
485 {
486 function = HANDLE
487 overlay_file = "../assets/handle-v.png"
488 overlay_stretch = FALSE
489 orientation = VERTICAL
490 }
491
492 # Expanders
493
494 image
495 {
496 function = EXPANDER
497 expander_style = COLLAPSED
498 file = "../assets/arrow-right.png"
499 }
500
501 image
502 {
503 function = EXPANDER
504 expander_style = EXPANDED
505 file = "../assets/arrow-down.png"
506 }
507
508 image
509 {
510 function = EXPANDER
511 expander_style = SEMI_EXPANDED
512 file = "../assets/arrow-down.png"
513 }
514
515 image
516 {
517 function = EXPANDER
518 expander_style = SEMI_COLLAPSED
519 file = "../assets/arrow-right.png"
520 }
521
522 image
523 {
524 function = RESIZE_GRIP
525 state = NORMAL
526 detail = "statusbar"
527 overlay_file = "../assets/null.png"
528 overlay_border = { 0,0,0,0 }
529 overlay_stretch = FALSE
530 }
531
532 # Shadows ( this area needs help :P )
533
534 image
535 {
536 function = SHADOW_GAP
537 file = "../assets/null.png"
538 border = { 4, 4, 4, 4 }
539 stretch = TRUE
540 }
541 }
542 }