[issue24996] IDLE: debugger local/global vars should not be editable

Mark Roseman report at bugs.python.org
Fri Sep 4 00:06:33 CEST 2015


Mark Roseman added the comment:

Thanks Terry, sorry I missed your previous mention of this. From what I recall the treeview doesn't allow editable items, but what I've done in similar circumstances before (editing text items on a canvas in drawing type programs) was 'place' an entry widget on top of it at the right location as needed and then get rid of the entry when done, which provides the correct effect.

You know what, I think I know why they might have used an Entry widget... for really long values of variables the entry can stay a fixed width and will horizontal scroll, but a label will expand to the size of the content

----------

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


More information about the Python-bugs-list mailing list