1 # pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
5 # style <name> [= <name>]
10 # widget <widget_set> style <style_name>
11 # widget_class <widget_class_set> style <style_name>
13 # testgtkrc2 sets all the buttons in the main window to blue by default
16 #include "/usr/local/share/themes/Pixmap/gtk/gtkrc"
17 #include "/usr/local/share/themes/Redmond95/gtk/gtkrc"
18 #include "/usr/local/share/themes/Metal/gtk/gtkrc"
19 #include "/usr/local/share/themes/Notif/gtk/gtkrc"
20 #include "/usr/local/share/themes/Default/gtk/gtkrc"
22 # On Windows, if you have installed gtk-engines, try this for instance:
23 #include "\\windows\\gtk\\themes\\Pixmap\\gtk\\gtkrc"
25 double-click_timeout = 42
29 # gtk-cursor-blink-time = 200
30 # gtk-menu-bar-accel = F10
32 style "global-style-properties"
35 GtkButton::child_displacement_x = 1
36 GtkButton::child_displacement_y = 1
37 GtkSpinButton::shadow_type = etched-out
38 GtkEntry::cursor_color = "#ff0000"
39 GtkToolbar::space_size = 10
40 GtkToolbar::space_style = line
41 GtkToolbar::button_relief = none
42 GtkButtonBox::child_min_width = 0
43 GtkButtonBox::child_min_height = 0
45 class "GtkWidget" style "global-style-properties"
53 # GtkScrollbar::spacing = 33
54 # GtkButton::color = { 3, 2,45, 6, 6, 4, 23 }
59 stock["gtk-dialog-warning"] =
61 { "3DRings.xpm", *, *, *}
65 class "GtkImage" style "myicons"
68 class "GtkWidget" style "defaultfont"
72 # bg_pixmap[NORMAL] = "marble.xpm"
77 fg[NORMAL] = { 1.0, 0, 0 }
78 bg_pixmap[NORMAL] = "<parent>"
81 style "button" = "default"
83 # fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
84 # bg[PRELIGHT] = { 0, 0, 0.75 }
85 # bg[PRELIGHT] = { 0.75, 0, 0x00 }
88 style "toggle_button" = "button"
90 fg[NORMAL] = { 1.0, 0, 0 }
91 fg[ACTIVE] = { 1.0, 0, 0 }
92 # bg_pixmap[ACTIVE] = "check-y.xpm"
93 # bg_pixmap[NORMAL] = "check-n.xpm"
98 bg_pixmap[NORMAL] = "marble.xpm"
99 text[NORMAL] = { 1.0, 1.0, 1.0 }
100 fg[NORMAL] = { 1.0, 1.0, 1.0 }
101 base[NORMAL] = { 0.0, 0.0, 0.0 }
106 fg[NORMAL] = { 1.0, 1.0, 1.0 }
107 bg[NORMAL] = { 0.0, 0.0, 1.0 }
108 bg[ACTIVE] = { 0.0 ,0.0, 0.5 }
109 bg[PRELIGHT] = { 0.75 ,0.75, 1.0 }
119 fg[NORMAL] = { 58000, 0, 0 } # red
124 bg[PRELIGHT] = { 0.95, .55, 0.55 }
127 # override testgtk2, introduce the green color in the button list
128 style 'button_list' = 'button'
130 font_name = "Monospace 10"
131 bg[PRELIGHT] = { 0, 0.75, 0x00 }
133 widget "main window.*GtkScrolledWindow.*GtkButton*" style "button_list"
136 class "GtkScrollbar" style "red-bar"
138 widget_class "GtkWindow" style "window"
139 widget_class "GtkDialog" style "window"
140 widget_class "GtkFileSelection" style "window"
141 widget_class "*Gtk*Scale" style "scale"
142 widget_class "*GtkCheckButton*" style "toggle_button"
143 widget_class "*GtkRadioButton*" style "toggle_button"
144 widget_class "*GtkButton*" style "button"
145 widget_class "*Ruler" style "ruler"
146 widget_class "*GtkText" style "text"
147 widget "*GtkCurve" style "curve"
159 "debug-msg" ("hallo and")
164 # possible priorities are (in ascending order):
166 # gtk (used by gtk for internal class bindings)
167 # application (for hard coded bindings on application basis)
168 # rc (used implicitel by rc files)
170 class "GtkCList" binding "test1" # implicit : rc
171 #class "GtkWindow" binding : highest "test2" # override "rc" priority
176 "scroll-vertical" (step-backward, 0.0)
179 "scroll-vertical" (step-forward, 0.0)
183 class "GtkCList" binding "clist-test"
185 style "testthickness" {
190 #class "GtkFrame" style "testthickness"
192 # Test ordering of RC file priorities
194 style "testgtk-red-style" {
198 style "testgtk-green-style" {
202 style "testgtk-blue-style" {
206 widget_class "*.GtkAspectFrame.*.GtkLabel" style "testgtk-green-style"
207 widget_class "*.GtkAspectFrame.*.GtkLabel" style "testgtk-blue-style" # override because it's later
209 widget "*.testgtk-red-label" style "testgtk-red-style" # override because it's widget, not widget_class
211 widget "*.testgtk-green-label" style : highest "testgtk-green-style"
212 # overrides the following, because it is higher priority
213 widget "*.testgtk-green-label" style "testgtk-red-style"