[ Team LiB ] Previous Section Next Section

Entry and Spinbox Bindings

Table 34-2 gives the bindings for entry and spinbox widgets. When the table lists two sequences, they are equivalent.

Table 34-2. Entry and spinbox bindings

<Button-1>

Sets the insert point and starts a selection.

<B1-Motion>

Drags out a selection.

<Double-Button-1>

Selects a word.

<Triple-Button-1>

Selects all text in the widget.

<Shift-B1-Motion>

Adjusts the ends of the selection.

<Control-Button-1>

Sets insert point, leaving selection as is.

<Button-2>

Pastes selection at the insert cursor.

<B2-Motion>

Scrolls horizontally.

<Up>

"Spins" up to the next value. Spinbox only.

<Down>

"Spins" down to the previous value. Spinbox only.

<Left> <Control-b>

Moves insert cursor one character left and starts the selection.

<Shift-Left>

Moves cursor left and extends the selection.

<Control-Left> <Meta-b>

Moves cursor left one word and starts the selection.

<Control-Shift-Left>

Moves cursor left one word and extends the selection.

<Right> <Control-f>

Moves right one character and starts the selection.

<Shift-Right>

Moves cursor right and extends the selection.

<Control-Right> <Meta-f>

Moves right one word and starts the selection.

<Control-Shift-Right>

Moves cursor right one word and extends the selection.

<Home> <Control-a>

Moves cursor to beginning of widget.

<Shift-Home>

Moves cursor to beginning and extends the selection.

<End> <Control-e>

Moves cursor to end of widget.

<Shift-End>

Moves cursor to end and extends the selection.

<Select> <Control-Space>

Anchors the selection at the insert cursor.

<Shift-Select>

<Control-Shift-Space>

Adjusts the selection to the insert cursor.

<Control-slash>

Selects all the text in the entry.

<Control-backslash>

Clears the selection in the entry.

<Delete>

Deletes the selection or deletes next character.

<Backspace> <Control-h>

Deletes the selection or deletes previous character.

<Control-d>

Deletes next character.

<Meta-d>

Deletes next word.

<Control-k>

Deletes to the end of the entry.

<Control-t>

Transposes characters.

<<Cut>> <Control-x>

Deletes the section, if it exists.

<<Copy>> <Control-c>

Copies the selection to the clipboard.

<<Paste>> <Control-v>

Inserts the clipboard contents at the position of the insertion cursor.

    [ Team LiB ] Previous Section Next Section