quick_frontend (app, widget): CagouWidget.onSelected is called when the widget is selected:

A property is now used to manage `selected_widget` in QuickApp, and widget's onSelected
method is called when suitable.
This commit is contained in:
Goffi 2020-02-09 23:50:21 +01:00
commit 5ef5f4aabf

View file

@ -462,3 +462,7 @@ class QuickWidget(object):
all other value continue deletion
"""
return True
def onSelected(self):
"""Called when host.selected_widget is this instance"""
pass