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:
parent
9a9adb36cb
commit
5ef5f4aabf
1 changed files with 35 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue