diff src/cagou/core/cagou_widget.py @ 108:953ddf817b8a

cagou widget: added onHeaderInputComplete method which is called when text is changed, and should be used for completion
author Goffi <goffi@goffi.org>
date Sun, 15 Jan 2017 21:21:25 +0100
parents 3f8599d9a766
children e0c41f209c28
line wrap: on
line diff
--- a/src/cagou/core/cagou_widget.py	Sun Jan 15 21:21:22 2017 +0100
+++ b/src/cagou/core/cagou_widget.py	Sun Jan 15 21:21:25 2017 +0100
@@ -68,8 +68,10 @@
     def onHeaderInput(self):
         log.info(u"header input text entered")
 
+    def onHeaderInputComplete(self, wid, text):
+        return
+
     def on_touch_down(self, touch):
         if self.collide_point(*touch.pos):
             G.host.selected_widget = self
         super(CagouWidget, self).on_touch_down(touch)
-