diff urwid_satext/sat_widgets.py @ 109:13d608824508

added AdvancedEdit.getValue
author Goffi <goffi@goffi.org>
date Thu, 20 Aug 2015 18:37:52 +0200
parents 5bb3b7e25bf6
children 436076392538
line wrap: on
line diff
--- a/urwid_satext/sat_widgets.py	Mon Mar 30 10:30:26 2015 +0200
+++ b/urwid_satext/sat_widgets.py	Thu Aug 20 18:37:52 2015 +0200
@@ -58,6 +58,9 @@
     new behaviour: emit a 'click' signal when enter is pressed"""
     signals = urwid.Edit.signals + ['click']
 
+    def getValue(self):
+        return self.get_edit_text()
+
     def setCompletionMethod(self, callback):
         """Define method called when completion is asked
         @callback: method with 2 arguments: