Lines Matching refs:end

42 $t insert end "A text widget can contain other widgets embedded "
43 $t insert end "it. These are called \"embedded windows\", "
44 $t insert end "and they can consist of arbitrary widgets. "
45 $t insert end "For example, here are two embedded button "
46 $t insert end "widgets. You can click on the first button to "
47 $t window create end -window $t.on
48 $t insert end " horizontal scrolling, which also turns off "
49 $t insert end "word wrapping. Or, you can click on the second "
50 $t insert end "button to\n"
51 $t window create end -window $t.off
52 $t insert end " horizontal scrolling and turn back on word wrapping.\n\n"
54 $t insert end "Or, here is another example. If you "
55 $t window create end -window $t.click
56 $t insert end " a canvas displaying an x-y plot will appear right here."
59 $t insert end " You can drag the data points around with the mouse, "
60 $t insert end "or you can click here to "
61 $t window create end -window $t.delete
62 $t insert end " the plot again.\n\n"
64 $t insert end "You may also find it useful to put embedded windows in "
65 $t insert end "a text without any actual text. In this case the "
66 $t insert end "text widget acts like a geometry manager. For "
67 $t insert end "example, here is a collection of buttons laid out "
68 $t insert end "neatly into rows by the text widget. These buttons "
69 $t insert end "can be used to change the background color of the "
70 $t insert end "text widget (\"Default\" restores the color to "
71 $t insert end "its default). If you click on the button labeled "
72 $t insert end "\"Short\", it changes to a longer string so that "
73 $t insert end "you can see how the text widget automatically "
74 $t insert end "changes the layout. Click on the button again "
75 $t insert end "to restore the short string.\n"
79 $t window create end -window $t.default -padx 3
85 $t window create end -window $t.toggle -padx 3 -pady 2
93 $t window create end -window $t.color$i -padx 3 -pady 2
96 $t tag add buttons $t.default end