]> Pileus Git - ~andy/gtk/blob - tests/testgtkrc
e57b3b0fbeacc5a5e08162c7a3ed60814119ccaa
[~andy/gtk] / tests / testgtkrc
1 # pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
2 #
3 # style <name> [= <name>]
4 # {
5 #   <option>
6 # }
7 #
8 # widget <widget_set> style <style_name>
9 # widget_class <widget_class_set> style <style_name>
10
11 pixmap_path "."
12
13 style "default"
14 {
15   fontset = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*,*"
16   base[NORMAL] = { 1.0, 0.8, 0.8 }
17 }
18
19 style "window"
20 {
21 #  bg_pixmap[NORMAL] = "warning.xpm"
22 }
23
24 style "scale"
25 {
26   fg[NORMAL] = { 1.0, 0, 0 }
27   bg_pixmap[NORMAL] = "<parent>"
28 }
29
30 style "button"
31 {
32 #  fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
33 #  bg[PRELIGHT] = { 0, 0, 0.75 }
34 }
35
36 style "main_button" = "button"
37 {
38   font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
39   bg[PRELIGHT] = { 0.75, 0, 0 }
40 }
41
42 style "toggle_button" = "button"
43 {
44   fg[NORMAL] = { 1.0, 0, 0 }
45   fg[ACTIVE] = { 1.0, 0, 0 }
46   bg_pixmap[NORMAL] = "<parent>"
47 }
48
49 style "text"
50 {
51 #  bg_pixmap[NORMAL] = "marble.xpm"
52 #  fg[NORMAL] = { 1.0, 1.0, 1.0 }
53 }
54
55 style "ruler"
56 {
57   font = "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
58 }
59
60 style "curve"
61 {
62   fg[NORMAL] = { 58000, 0, 0 }                  # red
63 }
64
65 widget_class "*" style "default"
66 widget_class "GtkWindow" style "window"
67 widget_class "GtkDialog" style "window"
68 widget_class "GtkFileSelection" style "window"
69 widget_class "*Gtk*Scale" style "scale"
70 widget_class "*GtkCheckButton*" style "toggle_button"
71 widget_class "*GtkRadioButton*" style "toggle_button"
72 widget_class "*GtkButton*" style "button"
73 widget_class "*Ruler" style "ruler"
74 #widget_class "*GtkText" style "text"
75 widget "main window.*GtkButton*" style "main_button"
76 widget "*GtkCurve" style "curve"