summaryrefslogtreecommitdiffstats
path: root/Tools/pynche
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-10-05 21:14:12 (GMT)
committerBarry Warsaw <barry@python.org>1998-10-05 21:14:12 (GMT)
commitcd09867c576491b4fed8a3dc116ceb23005c88a0 (patch)
tree572afbf181d8f07e926ada485d4be6a9046b632b /Tools/pynche
parent3d314390ab53b86faadd3238b742a0ba4d74f30b (diff)
downloadcpython-cd09867c576491b4fed8a3dc116ceb23005c88a0.zip
cpython-cd09867c576491b4fed8a3dc116ceb23005c88a0.tar.gz
cpython-cd09867c576491b4fed8a3dc116ceb23005c88a0.tar.bz2
current_rgb(): New method
Diffstat (limited to 'Tools/pynche')
-rw-r--r--Tools/pynche/Switchboard.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/pynche/Switchboard.py b/Tools/pynche/Switchboard.py
index 503752e..4286b48 100644
--- a/Tools/pynche/Switchboard.py
+++ b/Tools/pynche/Switchboard.py
@@ -33,5 +33,8 @@ class Switchboard:
def update_views_current(self):
self.update_views(self.__red, self.__green, self.__blue)
+ def current_rgb(self):
+ return self.__red, self.__green, self.__blue
+
def colordb(self):
return self.__colordb