[Python-bugs-list] [ python-Bugs-466981 ] item_cget() missing parm. in Tix/HList

noreply@sourceforge.net noreply@sourceforge.net
Tue, 09 Oct 2001 04:51:27 -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: Closed
>Resolution: Fixed
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:

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2001-10-09 04:51

Message:
Logged In: YES 
user_id=21627

Thanks for the report. This is fixed in Tix.py 1.4.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=466981&group_id=5470