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"
33 class "GtkWidget" style "defaultfont"
37 # bg_pixmap[NORMAL] = "marble.xpm"
42 fg[NORMAL] = { 1.0, 0, 0 }
43 bg_pixmap[NORMAL] = "<parent>"
46 style "button" = "default"
48 # fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
49 # bg[PRELIGHT] = { 0, 0, 0.75 }
50 # bg[PRELIGHT] = { 0.75, 0, 0x00 }
53 style "toggle_button" = "button"
55 fg[NORMAL] = { 1.0, 0, 0 }
56 fg[ACTIVE] = { 1.0, 0, 0 }
57 # bg_pixmap[ACTIVE] = "check-y.xpm"
58 # bg_pixmap[NORMAL] = "check-n.xpm"
63 bg_pixmap[NORMAL] = "marble.xpm"
64 text[NORMAL] = { 1.0, 1.0, 1.0 }
65 fg[NORMAL] = { 1.0, 1.0, 1.0 }
66 base[NORMAL] = { 0.0, 0.0, 0.0 }
71 fg[NORMAL] = { 1.0, 1.0, 1.0 }
72 bg[NORMAL] = { 0.0, 0.0, 1.0 }
73 bg[ACTIVE] = { 0.0 ,0.0, 0.5 }
74 bg[PRELIGHT] = { 0.75 ,0.75, 1.0 }
84 fg[NORMAL] = { 58000, 0, 0 } # red
89 bg[PRELIGHT] = { 0.95, .55, 0.55 }
92 # override testgtk2, introduce the green color in the button list
93 style 'button_list' = 'button'
95 font_name = "Monospace 10"
96 bg[PRELIGHT] = { 0, 0.75, 0x00 }
98 widget "main window.*GtkScrolledWindow.*GtkButton*" style "button_list"
101 class "GtkScrollbar" style "red-bar"
103 widget_class "GtkWindow" style "window"
104 widget_class "GtkDialog" style "window"
105 widget_class "GtkFileSelection" style "window"
106 widget_class "*Gtk*Scale" style "scale"
107 widget_class "*GtkCheckButton*" style "toggle_button"
108 widget_class "*GtkRadioButton*" style "toggle_button"
109 widget_class "*GtkButton*" style "button"
110 widget_class "*Ruler" style "ruler"
111 widget_class "*GtkText" style "text"
112 widget "*GtkCurve" style "curve"
124 "debug-msg" ("hallo and")
129 # possible priorities are (in ascending order):
131 # gtk (used by gtk for internal class bindings)
132 # application (for hard coded bindings on application basis)
133 # rc (used implicitel by rc files)
135 class "GtkCList" binding "test1" # implicit : rc
136 #class "GtkWindow" binding : highest "test2" # override "rc" priority
141 "scroll-vertical" (step-backward, 0.0)
144 "scroll-vertical" (step-forward, 0.0)
148 class "GtkCList" binding "clist-test"