Add a SELECTION to the pre-inserted text

This commit is contained in:
Barry Warsaw 1998-10-06 21:40:22 +00:00
parent 3886e3aebb
commit da7502e8ad
1 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,12 @@ def __init__(self, switchboard, parent=None):
Insert some stuff here and play
with the buttons below to see
how the colors interact in
textual displays.''')
textual displays.
See how the selection can also
be affected by tickling the buttons
and choosing a color.''')
self.__text.tag_add(SEL, 6.0, END)
#
# variables
self.__trackp = BooleanVar()