Issue 1356969: Tix.py class HList missing info_bbox, info_dragsite and info_dropsite (original) (raw)

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.