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
20 # fontset = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*,*"
21 font = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*"
26 # bg_pixmap[NORMAL] = "warning.xpm"
31 fg[NORMAL] = { 1.0, 0, 0 }
32 bg_pixmap[NORMAL] = "<parent>"
35 style "button" = "default"
37 # fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
38 # bg[PRELIGHT] = { 0, 0, 0.75 }
39 # bg[PRELIGHT] = { 0.75, 0, 0x00 }
42 style "toggle_button" = "button"
44 fg[NORMAL] = { 1.0, 0, 0 }
45 fg[ACTIVE] = { 1.0, 0, 0 }
46 bg_pixmap[NORMAL] = "<parent>"
51 bg_pixmap[NORMAL] = "marble.xpm"
52 text[NORMAL] = { 0.2, 0.2, 1.0 }
53 fg[NORMAL] = { 1.0, 1.0, 1.0 }
54 base[NORMAL] = { 0.0, 0.0, 0.0 }
59 fg[NORMAL] = { 1.0, 1.0, 1.0 }
60 bg[NORMAL] = { 0.0, 0.0, 1.0 }
61 bg[ACTIVE] = { 0.0 ,0.0, 0.5 }
62 bg[PRELIGHT] = { 0.75 ,0.75, 1.0 }
67 font = '-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*'
72 fg[NORMAL] = { 58000, 0, 0 } # red
77 bg[PRELIGHT] = { 0.95, .55, 0.55 }
80 # override testgtk2, introduce the green color in the button list
81 style 'button_list' = 'button'
83 font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
84 bg[PRELIGHT] = { 0, 0.75, 0x00 }
86 widget "main window.*GtkScrolledWindow.*GtkButton*" style "button_list"
89 class "GtkWidget" style "default"
91 class "GtkScrollbar" style "red-bar"
93 widget_class "GtkWindow" style "window"
94 widget_class "GtkDialog" style "window"
95 widget_class "GtkFileSelection" style "window"
96 widget_class "*Gtk*Scale" style "scale"
97 widget_class "*GtkCheckButton*" style "toggle_button"
98 widget_class "*GtkRadioButton*" style "toggle_button"
99 widget_class "*GtkButton*" style "button"
100 widget_class "*Ruler" style "ruler"
101 widget_class "*GtkText" style "text"
102 widget "*GtkCurve" style "curve"
107 "debug-msg" ("hallo and")
119 # possible priorities are (in ascending order):
121 # gtk (used by gtk for internal class bindings)
122 # application (for hard coded bindings on application basis)
123 # rc (used implicitel by rc files)
125 class "GtkButton" binding "test1" # implicit : rc
126 class "GtkButton" binding : highest "test2" # override "rc" priority
131 "scroll-vertical" (step-backward, 0.0)
134 "scroll-vertical" (step-forward, 0.0)
138 class "GtkCList" binding "clist-test"