Add a module global variable ADDTOVIEW to conform to dynamic viewer

lookup protocol.
This commit is contained in:
Barry Warsaw 1999-04-27 18:54:12 +00:00
parent 2095b2fe14
commit f3ebf90d2c
3 changed files with 7 additions and 1 deletions

View file

@ -18,6 +18,8 @@ in the text window (which only has a background).
from Tkinter import *
import ColorDB
ADDTOVIEW = 'Text Window...'
class TextViewer:
def __init__(self, switchboard, master=None):
self.__sb = switchboard