now with a listbox
This commit is contained in:
parent
d7fc0dd64a
commit
25a43be973
|
@ -5,6 +5,14 @@ wm title . "Text Tools"
|
|||
|
||||
text .content
|
||||
text .output
|
||||
listbox .transform
|
||||
|
||||
.transform insert end Line/Word/Char
|
||||
|
||||
grid .transform -row 1 -column 1 -rowspan 2
|
||||
grid .content -row 1 -column 2
|
||||
grid .output -row 2 -column 2
|
||||
|
||||
focus .content
|
||||
|
||||
proc wordcount {} {
|
||||
|
@ -22,7 +30,4 @@ proc wordcount {} {
|
|||
|
||||
bind .content <KeyRelease> wordcount
|
||||
|
||||
grid .content -row 1
|
||||
grid .output -row 2
|
||||
|
||||
update
|
||||
|
|
Loading…
Reference in a new issue