[Tkinter-discuss] (no subject)

Mark English Mark.English at liffe.com
Thu Dec 30 13:06:02 CET 2004

I had this problem and hacked together what looked like fixes as a


The two changes I threw into tktable.py were to do with the call to
tk.call returning a tuple of strings rather than the expected string
delimited by spaces in curselection:
Changed line 144
return self._getCells(self.tk.call(self._w, 'curselection'))
return self._getCells(' '.join(self.tk.call(self._w, 'curselection')))

and to handle getting index returning an int:
Changed line 173
return self._getCells(self.tk.call(self._w, 'index', index, rc))[0][0]
return self.tk.call(self._w, 'index', index, rc)

Don't know if these changes are correct in all situations but they got
the demo working without errors.


The information contained in this e-mail is confidential and solely 
for the intended addressee(s). Unauthorised reproduction, disclosure, 
modification, and/or distribution of this email may be unlawful. If you 
have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message 
do not necessarily reflect those of LIFFE Holdings Plc or any of its subsidiary companies.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20041230/7bf5bf64/attachment.html

More information about the Tkinter-discuss mailing list