Lines Matching refs:text
21 # and a text widget that explains how to use the program, plus lists
28 menubutton .menuBar.file -text File -menu .menuBar.file.m -underline 0
41 text .t -yscrollcommand {.s set} -wrap word -width 60 -height 30 -font $font \
47 label .statusBar.lab -text " " -relief sunken -bd 1 \
55 # Create a bunch of tags to use in the text widget, such as those for
94 .statusBar.lab config -text ""
111 # Create the text for the text widget.
120 .t insert end "1. Labels (text and bitmaps)." {demo demo-label}
159 .t insert end "1. Basic editable text." {demo demo-text}
165 .t insert end "4. A text widget with embedded windows." {demo demo-twind}
167 .t insert end "5. A search tool built with a text widget." {demo demo-search}
244 label $w.title -text "Variable values:" -width 20 -anchor center \
255 label $w.$i.name -text "$i: " -width [expr $len + 2] -anchor w
261 button $w.ok -text OK -command "destroy $w"
301 .statusBar.lab config -text " "
305 .statusBar.lab config -text "Run the \"$demo\" sample program"
329 button .code.buttons.dismiss -text Dismiss -command "destroy .code"
330 button .code.buttons.rerun -text "Rerun Demo" -command {
331 eval [.code.text get 1.0 end]
337 text .code.text -height 40 -wrap word\
341 scrollbar .code.xscroll -command ".code.text xview" \
343 scrollbar .code.yscroll -command ".code.text yview" \
346 grid .code.text -in .code.frame -padx 1 -pady 1 \
361 .code.text delete 1.0 end
362 .code.text insert 1.0 [read $id]
363 .code.text mark set insert 1.0