comparison 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
comparison
equal deleted inserted replaced
3158:6032245c927e 3159:30e08d904208
460 460
461 @return (boot, None): False to cancel deletion 461 @return (boot, None): False to cancel deletion
462 all other value continue deletion 462 all other value continue deletion
463 """ 463 """
464 return True 464 return True
465
466 def onSelected(self):
467 """Called when host.selected_widget is this instance"""
468 pass