From eaca3ea34d90795e0975eeab6e2f904ee6bda70f Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Sun, 11 Feb 2018 12:55:44 +0100 Subject: [PATCH] button number --- src/Widgets/Browser.vala | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Widgets/Browser.vala b/src/Widgets/Browser.vala index 9ddb8bd..7e889fe 100644 --- a/src/Widgets/Browser.vala +++ b/src/Widgets/Browser.vala @@ -135,6 +135,11 @@ namespace Webpin.Widgets { } return false; }); + + web_view.button_press_event.connect ((event) => { + stdout.printf ("BUTTON %u\n", event.button); + return base.button_press_event (event); + }); } } }