From fbf138faee703254eed1e0d7bbbbbb2a0488187f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Thu, 19 Nov 2020 11:43:14 +0100 Subject: [PATCH] Enter/Leave problem fixed with c5b9f2558730e379fdc38f01b4de955e3b4577f8 --- README.md | 2 -- examples/picture.py | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bcc46d0..f0b79e2 100644 --- a/README.md +++ b/README.md @@ -103,8 +103,6 @@ Signals can be : "on-leave" : ["signal"|"delete"|"open-popup"|"close-popup"|"toggle-popup"] "on-scroll" : ["signal"|"delete"|"open-popup"|"close-popup"|"toggle-popup"] - WARNING : It seems that GNOME 3.38.0 had some troubles managing on-enter/on-leave signal - Targets : * signal : emit a signal to desktop application diff --git a/examples/picture.py b/examples/picture.py index c54941e..3688bde 100755 --- a/examples/picture.py +++ b/examples/picture.py @@ -55,6 +55,9 @@ class PicturePopup(GenericMonitor): popup = GenericMonitorPopup([url_widget, picture_widget]) signals = { 'on-click':'toggle-popup', + # Could also use this behavior + # 'on-enter':'open-popup', + # 'on-leave':'close-popup', 'on-dblclick':'signal', 'on-rightclick':'signal', 'on-scroll':'signal',