comparison sat_frontends/quick_frontend/constants.py @ 3168:1cb232c9e845

quick frontends (widgets): added widgetNew and widgetDelete listeners: - `widgetNew` is called when a brand new widget is created (not when a new instance is created if there is already an existing one) - `widgetDelete` is called when all instances of a widget (with a given widget_hash) have been deleted.
author Goffi <goffi@goffi.org>
date Wed, 12 Feb 2020 19:46:14 +0100
parents 9dc170635bee
children 6cf4bd6972c2
comparison
equal deleted inserted replaced
3167:d0fb79f97466 3168:1cb232c9e845
97 LISTENERS = { 97 LISTENERS = {
98 "avatar", 98 "avatar",
99 "nick", 99 "nick",
100 "presence", 100 "presence",
101 "selected", 101 "selected",
102 "notification",
103 "notificationsClear",
104 "widgetNew",
105 "widgetDeleted",
102 "profilePlugged", 106 "profilePlugged",
103 "contactsFilled", 107 "contactsFilled",
104 "disconnect", 108 "disconnect",
105 "gotMenus", 109 "gotMenus",
106 "menu", 110 "menu",
107 "notification",
108 "notificationsClear",
109 "progressFinished", 111 "progressFinished",
110 "progressError", 112 "progressError",
111 } 113 }
112 114
113 # Notifications 115 # Notifications