[issue5961] Missing labelside option for Tix option menu (fix included)

Cary R. report at bugs.python.org
Tue Aug 18 18:26:37 CEST 2009


Cary R. <cygcary at yahoo.com> added the comment:

That is the manual I am referencing and the last time I looked it was
the most recent.

I'm not to familiar with the Python port of Tix, but I am using the
command, label, state, and variable options and they already work fine.
I could try the other options if that would help.

I needed the labelside functionality so I hacked Tix.py to get it to
work. I mimicked the code from other objects that have a labelside
option. My assumption was that some base class knew how to handle many
of the standard options, but did not know about labelside. It is
possible that there is a better way to handle this (add it to the same
place the others are implemented), but that would have required
understanding the class hierarchy and much more work. At the time I just
needed to get it to work and what I proposed does work and is consistent
with other objects. Since I was not using the other options I did not
check them.

Let me know if there is anything else I can do to help.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5961>
_______________________________________


More information about the Python-bugs-list mailing list