Hirokazu Yamamoto
                                 added the comment:

Probably right fix is attached file "fix_tixGrid.patch"

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1135>
__________________________________
Index: Lib/lib-tk/Tix.py
===================================================================
--- Lib/lib-tk/Tix.py	(revision 58052)
+++ Lib/lib-tk/Tix.py	(working copy)
@@ -1865,16 +1865,16 @@
     # def size dim index ?option value ...?
     # def unset x y
 
-    def xview(self):
-        return self._getdoubles(self.tk.call(self, 'xview'))
+    def xview(self, *args):
+        return self._getdoubles(self.tk.call(self, 'xview', *args))
     def xview_moveto(self, fraction):
         self.tk.call(self,'xview', 'moveto', fraction)
     def xview_scroll(self, count, what="units"):
         "Scroll right (count>0) or left <count> of units|pages"
         self.tk.call(self, 'xview', 'scroll', count, what)
 
-    def yview(self):
-        return self._getdoubles(self.tk.call(self, 'yview'))
+    def yview(self, *args):
+        return self._getdoubles(self.tk.call(self, 'yview', *args))
     def yview_moveto(self, fraction):
         self.tk.call(self,'ysview', 'moveto', fraction)
     def yview_scroll(self, count, what="units"):
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to