]> Pileus Git - ~andy/gtk/blob - gtk/testgtkrc
Merge from themes-2. See the ChangeLog for a somewhat detailed
[~andy/gtk] / gtk / testgtkrc
1 # pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
2 #
3 # include "rc-file"
4 #
5 # style <name> [= <name>]
6 # {
7 #   <option>
8 # }
9 #
10 # widget <widget_set> style <style_name>
11 # widget_class <widget_class_set> style <style_name>
12
13 include "/opt/themes/share/themes/Metal/gtk/gtkrc"
14 #include "/home/otaylor/.themes/Ignorant/gtk/gtkrc"
15
16 style "defaultfont" {
17 #  font = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*,*"
18 #  fontset = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*,*"
19 }
20
21 class "GtkWidget" style "defaultfont"
22
23 binding "test1"
24 {
25   bind "<ctrl>1" {
26     "debug-msg" ("hallo and") 
27     "debug-msg" ("huhu")
28   }
29 }
30
31 binding "test2"
32 {
33   bind "<ctrl>1" {
34     "debug-msg" ("jup!") 
35   }
36 }
37
38 # possible priorities are (in ascending order):
39 # lowest
40 # gtk         (used by gtk for internal class bindings)
41 # application (for hard coded bindings on application basis)
42 # rc          (used implicitly by rc files)
43 # highest
44 class "GtkButton" binding "test1"           # implicit : rc
45 class "GtkButton" binding : highest "test2" # override "rc" priority
46
47 binding "clist-test"
48 {
49   bind "j" {
50     "scroll-vertical" (step-backward, 0.0)
51   }
52   bind "k" {
53     "scroll-vertical" (step-forward, 0.0)
54   }
55 }
56
57 class "GtkCList" binding "clist-test"