diff sat_frontends/quick_frontend/quick_widgets.py @ 3159:30e08d904208

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.
author Goffi <goffi@goffi.org>
date Sun, 09 Feb 2020 23:50:21 +0100
parents 6032245c927e
children 7699a08ba8fb
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/quick_widgets.py	Thu Feb 06 00:01:36 2020 +0100
+++ b/sat_frontends/quick_frontend/quick_widgets.py	Sun Feb 09 23:50:21 2020 +0100
@@ -462,3 +462,7 @@
             all other value continue deletion
         """
         return True
+
+    def onSelected(self):
+        """Called when host.selected_widget is this instance"""
+        pass