summaryrefslogtreecommitdiffstats
path: root/Tools/pynche/ChipViewer.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/pynche/ChipViewer.py')
-rw-r--r--Tools/pynche/ChipViewer.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Tools/pynche/ChipViewer.py b/Tools/pynche/ChipViewer.py
index f1429fd..a2a9034 100644
--- a/Tools/pynche/ChipViewer.py
+++ b/Tools/pynche/ChipViewer.py
@@ -22,13 +22,13 @@ class ChipWidget(Pmw.MegaWidget):
_HEIGHT = 80
def __init__(self, parent=None, **kw):
- optionsdefs = (('chip_borderwidth', 2, None),
- ('chip_width', self._WIDTH, None),
- ('chip_height', self._HEIGHT, None),
- ('label_text', 'Color', None),
- ('color', 'blue', self.__set_color),
- )
- self.defineoptions(kw, optionsdefs)
+ options = (('chip_borderwidth', 2, None),
+ ('chip_width', self._WIDTH, None),
+ ('chip_height', self._HEIGHT, None),
+ ('label_text', 'Color', None),
+ ('color', 'blue', self.__set_color),
+ )
+ self.defineoptions(kw, options)
# initialize base class -- after defining options
Pmw.MegaWidget.__init__(self, parent)