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

2009-08-18 Thread Cary R.

Cary R.  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 
<http://bugs.python.org/issue5961>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-05-07 Thread Cary R.

New submission from Cary R. :

The Tix Optionmenu is documented to support a labelside option that is
used to specify where the label should be relative to the selection.

I have verified that adding 'labelside' to the static_options when
calling the base constructor (TixWidget.__init__) located in Tix.py line
1185 (for both 2.5.4 and 2.6.2) fixes the problem.

TixWidget.__init__(self, ... ,['labelside', 'options'], ... )

I am currently using 2.5.4, but a fix only for the 2.6 branch is
acceptable for all but my personal machine (which I can patch by hand).

I am not very familiar with how all this works, so if there is something
I can do from my code to add this option that would be nice to know.

--
components: Tkinter
messages: 87388
nosy: caryr
severity: normal
status: open
title: Missing labelside option for Tix option menu (fix included)
type: feature request
versions: Python 2.6

___
Python tracker 
<http://bugs.python.org/issue5961>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-05-08 Thread Cary R.

Changes by Cary R. :


--
versions: +Python 2.5

___
Python tracker 
<http://bugs.python.org/issue5961>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com