[Python-bugs-list] [ python-Bugs-466981 ] item_cget() missing parm. in Tix/HList
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 01 Oct 2001 14:38:40 -0700
Bugs item #466981, was opened at 2001-10-01 14:38
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=466981&group_id=5470
Category: Tkinter
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: item_cget() missing parm. in Tix/HList
Initial Comment:
This applies to Tix.py version 1.3, any OS.
The item_cget method of HList in Tix.py is missing
the first parameter (entryPath in the Tix
documentation). The patch below fixes this:
***************
*** 730,737 ****
c = self.tk.call(self._w, 'info', 'selection')
return self.tk.splitlist(c)
! 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:
--- 730,737 ----
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_configure(self, entry, col, cnf={},
**kw):
if cnf is None:
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=466981&group_id=5470