summaryrefslogtreecommitdiffstats
path: root/Tools/pynche
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-02-18 16:22:52 (GMT)
committerBarry Warsaw <barry@python.org>1998-02-18 16:22:52 (GMT)
commit49c5b0d1be8c7ef97ffffb090ca8ac68fcfe6173 (patch)
treea0ff6e44fbf928759036149b1c77b631b263d6c1 /Tools/pynche
parent4c2fab51ed0d77a9035026dbb4c1221252921d52 (diff)
downloadcpython-49c5b0d1be8c7ef97ffffb090ca8ac68fcfe6173.zip
cpython-49c5b0d1be8c7ef97ffffb090ca8ac68fcfe6173.tar.gz
cpython-49c5b0d1be8c7ef97ffffb090ca8ac68fcfe6173.tar.bz2
Get rid of commented out, slower versions
Diffstat (limited to 'Tools/pynche')
-rw-r--r--Tools/pynche/StripViewer.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/Tools/pynche/StripViewer.py b/Tools/pynche/StripViewer.py
index a7c2b3a..39b9778 100644
--- a/Tools/pynche/StripViewer.py
+++ b/Tools/pynche/StripViewer.py
@@ -209,25 +209,11 @@ class StripWidget(Pmw.MegaWidget):
for t in self.__generator(self.__numchips, rgbtuple):
rrggbb = ColorDB.triplet_to_rrggbb(t)
chips.append(rrggbb)
-## self.__canvas.itemconfigure(i,
-## fill=rrggbb,
-## outline=rrggbb)
-## tclcmd.append(self.__canvas._w)
-## tclcmd.append('itemconfigure')
-## tclcmd.append(`i`)
-## tclcmd.append('-fill')
-## tclcmd.append(rrggbb)
-## tclcmd.append('-outline')
-## tclcmd.append(rrggbb)
-## tclcmd.append('\n')
tred, tgreen, tblue = t
if tred <= red and tgreen <= green and tblue <= blue:
chip = i
i = i + 1
# call the raw tcl script
-## script = string.join(tclcmd, ' ')
-## self.__canvas.tk.eval(script)
-## colors = tk.merge(chips)
colors = string.join(chips)
tk.eval('setcolor %s {%s}' % (self.__canvas._w, colors))