]> Pileus Git - ~andy/gtk/blob - tests/testgtkrc
GtkCList updates, GtkText now defaults to editable = FALSE, but you can
[~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 }
17
18 style "window"
19 {
20 #  bg_pixmap[NORMAL] = "warning.xpm"
21 }
22
23 style "scale"
24 {
25   fg[NORMAL] = { 1.0, 0, 0 }
26   bg_pixmap[NORMAL] = "<parent>"
27 }
28
29 style "button"
30 {
31 #  fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
32 #  bg[PRELIGHT] = { 0, 0, 0.75 }
33 }
34
35 style "main_button" = "button"
36 {
37   font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
38   bg[PRELIGHT] = { 0.75, 0, 0 }
39 }
40
41 style "toggle_button" = "button"
42 {
43   fg[NORMAL] = { 1.0, 0, 0 }
44   fg[ACTIVE] = { 1.0, 0, 0 }
45   bg_pixmap[NORMAL] = "<parent>"
46 }
47
48 style "text"
49 {
50 #  bg_pixmap[NORMAL] = "marble.xpm"
51 #  fg[NORMAL] = { 1.0, 1.0, 1.0 }
52 }
53
54 style "ruler"
55 {
56   font = "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
57 }
58
59 style "curve"
60 {
61   fg[NORMAL] = { 58000, 0, 0 }                  # red
62 }
63
64 #widget_class "*" style "default"
65 widget_class "GtkWindow" style "window"
66 widget_class "GtkDialog" style "window"
67 widget_class "GtkFileSelection" style "window"
68 widget_class "*Gtk*Scale" style "scale"
69 widget_class "*GtkCheckButton*" style "toggle_button"
70 widget_class "*GtkRadioButton*" style "toggle_button"
71 widget_class "*GtkButton*" style "button"
72 widget_class "*Ruler" style "ruler"
73 #widget_class "*GtkText" style "text"
74 widget "main window.*GtkButton*" style "main_button"
75 widget "*GtkCurve" style "curve"