X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=tests%2Ftestgtk.css;h=f5e8694f12704c68095ecb7139ac1d5163b194a3;hb=66810c1e7f7ee4bf8c8707961564c1f03b5df2fe;hp=24ed65547cd7326863f6c34b4bd136ed87fd492d;hpb=07fafe7b23028f0ed127efaf9b9a1aab1ef9b4dc;p=~andy%2Fgtk diff --git a/tests/testgtk.css b/tests/testgtk.css index 24ed65547..f5e8694f1 100644 --- a/tests/testgtk.css +++ b/tests/testgtk.css @@ -1,6 +1,11 @@ /* testgtk2.css sets all the buttons in the main window to blue by default */ @import url("testgtk2.css"); +@binding-set entry-bindings { + bind "s" { "move-cursor" (visual-positions, 3, 0) }; + bind "a" { "move-cursor" (visual-positions, -3, 0) }; +} + * { -GtkButton-child-displacement-x: 1; -GtkButton-child-displacement-y: 1; @@ -31,3 +36,7 @@ GtkLabel:prelight { #main_window GtkScrolledWindow GtkButton:prelight { background-color: rgb (0%, 75%, 0); } + +GtkEntry { + gtk-key-bindings: entry-bindings; +}