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"
29 # fontset = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*,*"
30 font = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*,*"
34 class "GtkWidget" style "defaultfont"
38 # bg_pixmap[NORMAL] = "marble.xpm"
43 fg[NORMAL] = { 1.0, 0, 0 }
44 bg_pixmap[NORMAL] = "<parent>"
47 style "button" = "default"
49 # fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
50 # bg[PRELIGHT] = { 0, 0, 0.75 }
51 # bg[PRELIGHT] = { 0.75, 0, 0x00 }
54 style "toggle_button" = "button"
56 fg[NORMAL] = { 1.0, 0, 0 }
57 fg[ACTIVE] = { 1.0, 0, 0 }
58 # bg_pixmap[ACTIVE] = "check-y.xpm"
59 # bg_pixmap[NORMAL] = "check-n.xpm"
64 bg_pixmap[NORMAL] = "marble.xpm"
65 text[NORMAL] = { 1.0, 1.0, 1.0 }
66 fg[NORMAL] = { 1.0, 1.0, 1.0 }
67 base[NORMAL] = { 0.0, 0.0, 0.0 }
72 fg[NORMAL] = { 1.0, 1.0, 1.0 }
73 bg[NORMAL] = { 0.0, 0.0, 1.0 }
74 bg[ACTIVE] = { 0.0 ,0.0, 0.5 }
75 bg[PRELIGHT] = { 0.75 ,0.75, 1.0 }
80 font = '-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*'
85 fg[NORMAL] = { 58000, 0, 0 } # red
90 bg[PRELIGHT] = { 0.95, .55, 0.55 }
93 # override testgtk2, introduce the green color in the button list
94 style 'button_list' = 'button'
96 font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
97 bg[PRELIGHT] = { 0, 0.75, 0x00 }
99 widget "main window.*GtkScrolledWindow.*GtkButton*" style "button_list"
102 class "GtkScrollbar" style "red-bar"
104 widget_class "GtkWindow" style "window"
105 widget_class "GtkDialog" style "window"
106 widget_class "GtkFileSelection" style "window"
107 widget_class "*Gtk*Scale" style "scale"
108 widget_class "*GtkCheckButton*" style "toggle_button"
109 widget_class "*GtkRadioButton*" style "toggle_button"
110 widget_class "*GtkButton*" style "button"
111 widget_class "*Ruler" style "ruler"
112 widget_class "*GtkText" style "text"
113 widget "*GtkCurve" style "curve"
125 "debug-msg" ("hallo and")
130 # possible priorities are (in ascending order):
132 # gtk (used by gtk for internal class bindings)
133 # application (for hard coded bindings on application basis)
134 # rc (used implicitel by rc files)
136 class "GtkCList" binding "test1" # implicit : rc
137 #class "GtkWindow" binding : highest "test2" # override "rc" priority
142 "scroll-vertical" (step-backward, 0.0)
145 "scroll-vertical" (step-forward, 0.0)
149 class "GtkCList" binding "clist-test"