Enter/Leave problem fixed with c5b9f25587
This commit is contained in:
parent
b0977da704
commit
fbf138faee
|
@ -103,8 +103,6 @@ Signals can be :
|
||||||
"on-leave" : ["signal"|"delete"|"open-popup"|"close-popup"|"toggle-popup"]
|
"on-leave" : ["signal"|"delete"|"open-popup"|"close-popup"|"toggle-popup"]
|
||||||
"on-scroll" : ["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 :
|
Targets :
|
||||||
|
|
||||||
* signal : emit a signal to desktop application
|
* signal : emit a signal to desktop application
|
||||||
|
|
|
@ -55,6 +55,9 @@ class PicturePopup(GenericMonitor):
|
||||||
popup = GenericMonitorPopup([url_widget, picture_widget])
|
popup = GenericMonitorPopup([url_widget, picture_widget])
|
||||||
signals = {
|
signals = {
|
||||||
'on-click':'toggle-popup',
|
'on-click':'toggle-popup',
|
||||||
|
# Could also use this behavior
|
||||||
|
# 'on-enter':'open-popup',
|
||||||
|
# 'on-leave':'close-popup',
|
||||||
'on-dblclick':'signal',
|
'on-dblclick':'signal',
|
||||||
'on-rightclick':'signal',
|
'on-rightclick':'signal',
|
||||||
'on-scroll':'signal',
|
'on-scroll':'signal',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user