diff options
author | Barry Warsaw <barry@python.org> | 1998-03-16 23:35:11 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1998-03-16 23:35:11 (GMT) |
commit | abae22fa5e01db7773bbf52d0ee90b43e237b213 (patch) | |
tree | cfcd8a488ccf2a8cadd2934902b2fe58c87854bb /Tools/pynche | |
parent | 627857e9577c127f1360c634ba8c19d4274aceb6 (diff) | |
download | cpython-abae22fa5e01db7773bbf52d0ee90b43e237b213.zip cpython-abae22fa5e01db7773bbf52d0ee90b43e237b213.tar.gz cpython-abae22fa5e01db7773bbf52d0ee90b43e237b213.tar.bz2 |
Get rid of Entrywidget
Diffstat (limited to 'Tools/pynche')
-rw-r--r-- | Tools/pynche/PyncheWidget.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Tools/pynche/PyncheWidget.py b/Tools/pynche/PyncheWidget.py index b4b5ad7..a16cbcd 100644 --- a/Tools/pynche/PyncheWidget.py +++ b/Tools/pynche/PyncheWidget.py @@ -133,15 +133,6 @@ class PyncheWidget(Pmw.MegaWidget): self.__typein = TypeinWidget(interior) self.__typein.grid(row=0, column=2) - # create the type-in color name field -## self.__colorname = self.createcomponent( -## 'colorname', (), None, -## Pmw.EntryField, (interior,), -## label_text='Color Name' -## ) -## self.__colorname.pack() -## self.__colorname.configure(command=self.__set_color_by_name()) - # Check keywords and initialize options self.initialiseoptions(PyncheWidget) @@ -183,11 +174,6 @@ class PyncheWidget(Pmw.MegaWidget): def __set_color(self): self.set_color(self, self['color']) - def __set_color_by_name(self): - colorname = self.__colorname.get() - rgbtuple = self.__colordb.find_byname(colorname) - self.set_color(self, rgbtuple) - def __buttonpress(self, event=None): self.__chip.configure(relief=SUNKEN) |