Commit 081d5b14 authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Matthias Clasen
Browse files

Add some bindings to testgtk.css for testing

parent c70b65f0
/* testgtk2.css sets all the buttons in the main window to blue by default */ /* testgtk2.css sets all the buttons in the main window to blue by default */
@import url("testgtk2.css"); @import url("testgtk2.css");
@binding-set entry-bindings {
bind "<alt>s" { "move-cursor" (visual-positions, 3, 0) };
bind "<alt>a" { "move-cursor" (visual-positions, -3, 0) };
};
* { * {
-GtkButton-child-displacement-x: 1; -GtkButton-child-displacement-x: 1;
-GtkButton-child-displacement-y: 1; -GtkButton-child-displacement-y: 1;
...@@ -31,3 +36,7 @@ GtkLabel:prelight { ...@@ -31,3 +36,7 @@ GtkLabel:prelight {
#main_window GtkScrolledWindow GtkButton:prelight { #main_window GtkScrolledWindow GtkButton:prelight {
background-color: rgb (0%, 75%, 0); background-color: rgb (0%, 75%, 0);
} }
GtkEntry {
gtk-key-bindings: entry-bindings;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment