Tix BUG? Where to submit?

R

Ron

I've been developing a piece of software using Tix. In particular, I'm
using the HList widget. I was attempting to use the info_bbox() mentod of
that class to get the bounding box of a list entry. I'm using the release
version Python 2.4.2. When I look in Tix.py I see that info_bbox() is not
available.

Well, I don't know much about the library, Tk or Tix but it appears that all
the other methods are implemented. Using those as templates I attempted to
add the function just to see what would happen. I added the folloing to
Tix.py line 961.

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


Surprising to myself, this was all that it took to make this work. So I'm
not sure why this method was left out. Could it have been an oversight?

Anyway, where would I subit this report to have it considered that this be
added to Tix?

Thanks for your help.

Ron Provost
 
J

jepler

Since this is a bug in Python (Tix.py), it should be submitted to the Python
Patch tracker at sf.net/projects/python

You need a free "sourceforge" account to submit an item to the bug or patch
tracker.

Jeff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDePTNJd01MZaTXX0RAkT9AKCoMS3KO7/iZv6y29dv4zSN9Vb5/wCeILaa
cAIt0zrTialkXIrYNo7TNhI=
=u0SY
-----END PGP SIGNATURE-----
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Ron said:
Surprising to myself, this was all that it took to make this work. So I'm
not sure why this method was left out. Could it have been an oversight?

It could be an oversight. More likely, it was not originally there when
the underlying tix library was developed, and only added to tix later;
then, it was never added to Tix.py.
Anyway, where would I subit this report to have it considered that this be
added to Tix?

As Jeff explains: sf.net/projects/python, preferably as a patch (unified
diff).

Regards,
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top