[gtk+/key-themes: 7/8] Add some bindings to testgtk.css for testing
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/key-themes: 7/8] Add some bindings to testgtk.css for testing
- Date: Fri, 28 Jan 2011 18:42:29 +0000 (UTC)
commit 57fbc482774bd5c574acc62a5efea2e96fd8b417
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Jan 28 11:05:01 2011 +0100
Add some bindings to testgtk.css for testing
tests/testgtk.css | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/tests/testgtk.css b/tests/testgtk.css
index 24ed655..f1207f7 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 "<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-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;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]