summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Tix.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-10-09 11:50:55 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-10-09 11:50:55 (GMT)
commit3e048485f9c56066f347bc0e6a06056870847056 (patch)
tree038cc53de936542a5796968c2026d871a271c3a7 /Lib/lib-tk/Tix.py
parent0eb2a6e974d6862ce5d691f30ec9cc9dae5c9074 (diff)
downloadcpython-3e048485f9c56066f347bc0e6a06056870847056.zip
cpython-3e048485f9c56066f347bc0e6a06056870847056.tar.gz
cpython-3e048485f9c56066f347bc0e6a06056870847056.tar.bz2
Add entry parameter to HList.item_cget. Fixes bug #466981.
Diffstat (limited to 'Lib/lib-tk/Tix.py')
-rwxr-xr-xLib/lib-tk/Tix.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/Tix.py b/Lib/lib-tk/Tix.py
index 9980941..937d36f 100755
--- a/Lib/lib-tk/Tix.py
+++ b/Lib/lib-tk/Tix.py
@@ -730,8 +730,8 @@ class HList(TixWidget):
c = self.tk.call(self._w, 'info', 'selection')
return self.tk.splitlist(c)
- def item_cget(self, col, opt):
- return self.tk.call(self._w, 'item', 'cget', col, opt)
+ def item_cget(self, entry, col, opt):
+ return self.tk.call(self._w, 'item', 'cget', entry, col, opt)
def item_configure(self, entry, col, cnf={}, **kw):
if cnf is None: