mirror of https://github.com/python/cpython.git
Add a SELECTION to the pre-inserted text
This commit is contained in:
parent
3886e3aebb
commit
da7502e8ad
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue