[ python-Bugs-1356969 ] Tix.py class HList missing info_bbox

SourceForge.net noreply at sourceforge.net
Tue Nov 15 01:26:28 CET 2005


Bugs item #1356969, was opened at 2005-11-14 19:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1356969&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Submitted By: Ron Provost (ronpro at cox.net)
Assigned to: Martin v. Löwis (loewis)
Summary: Tix.py class HList missing info_bbox

Initial Comment:
class HList in Tix.py is missing the method
info_bbox(); though according to the Tix website, it
exists and should return a list of coordinates for the
bounding box of the list entry whose path is passed
into the function as an argument.

I added the following bit of code to my python 2.4.2
final release build (Tix.py, line 961) and find that it
seems to work just fine.

    def info_bbox( self, entry ):
       coords = self.tk.call( self._w, 'info', 'bbox',
entry ).split( ' ')
       return map( int, coords )

I've attached the modified file for examination.

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

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


More information about the Python-bugs-list mailing list