November 1999
Intermediate to advanced
832 pages
19h 28m
English
There is an extensive set of default bindings for text widgets. In general, the commands that move the insertion cursor also clear the selection. Often you can hold the Shift key down to extend the selection, or hold the Control key down to move the insertion cursor without affecting the selection. Table 33-8 lists the default bindings for the text widget:
| <Any-Key> | Inserts normal printing characters. |
| <Button-1> | Sets the insert point, clears the selection, sets focus. |
| <Control-Button-1> | Sets the insert point without affecting the selection. |
| <B1-Motion> | Sweeps out a selection from the insert point. |
| <Double-Button-1> | Selects the word under the mouse. |
| <Triple-Button-1> | Selects the line under the mouse. ... |
Read now
Unlock full access