changeset 233:68fa56dacbcd

Add new get_focus_pos method to ListView
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 09 Apr 2013 19:55:53 +0200
parents 01c75612253f
children eba71328b76b
files getan/view.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/getan/view.py	Tue Apr 09 19:43:53 2013 +0200
+++ b/getan/view.py	Tue Apr 09 19:55:53 2013 +0200
@@ -104,6 +104,9 @@
             return self.listbox.get_focus()[0]
         return None
 
+    def get_focus_pos(self):
+        return self.listbox.get_focus()[1]
+
     def select(self):
         if not self.rows:
             return None
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)