aboutsummaryrefslogtreecommitdiff
path: root/example/simple-client-vala.vala
diff options
context:
space:
mode:
Diffstat (limited to 'example/simple-client-vala.vala')
-rw-r--r--example/simple-client-vala.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/simple-client-vala.vala b/example/simple-client-vala.vala
index 18ece22..61e0c2f 100644
--- a/example/simple-client-vala.vala
+++ b/example/simple-client-vala.vala
@@ -87,6 +87,11 @@ class SimpleClient {
}
public void run() {
+
+ ci.scroll_event.connect((delta, direction) => {
+ print(@"Got scroll event! delta: $delta, direction: $direction\n");
+ });
+
Timeout.add_seconds(1, () => {
percentage = (percentage + 1) % 100;
if (can_haz_label) {