Tk

 view release on metacpan or  search on metacpan

pod/Spinbox.pod  view on Meta::CPAN

=item [7]

The view in the Spinbox can be adjusted by dragging with mouse button 2.
If mouse button 2 is clicked without moving the mouse, the selection
is copied into the Spinbox at the position of the mouse cursor.

=item [8]

If the mouse is dragged out of the Spinbox on the left or right sides
while button 1 is pressed, the Spinbox will automatically scroll to
make more text visible (if there is more text off-screen on the side
where the mouse left the window).

=item [9]

The Left and Right keys move the insertion cursor one character to the
left or right;  they also clear any selection in the Spinbox and set
the selection anchor.
If Left or Right is typed with the Shift key down, then the insertion
cursor moves and the selection is extended to include the new character.
Control-Left and Control-Right move the insertion cursor by words, and
Control-Shift-Left and Control-Shift-Right move the insertion cursor
by words and also extend the selection.
Control-b and Control-f behave the same as Left and Right, respectively.
Meta-b and Meta-f behave the same as Control-Left and Control-Right,
respectively.

=item [10]

The Home key, or Control-a, will move the insertion cursor to the
beginning of the Spinbox and clear any selection in the Spinbox.
Shift-Home moves the insertion cursor to the beginning of the Spinbox
and also extends the selection to that point.

=item [11]

The End key, or Control-e, will move the insertion cursor to the
end of the Spinbox and clear any selection in the Spinbox.
Shift-End moves the cursor to the end and extends the selection
to that point.

=item [12]

The Select key and Control-Space set the selection anchor to the position
of the insertion cursor.  They don't affect the current selection.
Shift-Select and Control-Shift-Space adjust the selection to the
current position of the insertion cursor, selecting from the anchor
to the insertion cursor if there was not any selection previously.

=item [13]

Control-/ selects all the text in the Spinbox.

=item [14]

Control-\ clears any selection in the Spinbox.

=item [15]

The F16 key (labelled Copy on many Sun workstations) or Meta-w
copies the selection in the widget to the clipboard, if there is a selection.

=item [16]

The F20 key (labelled Cut on many Sun workstations) or Control-w
copies the selection in the widget to the clipboard and deletes
the selection.
If there is no selection in the widget then these keys have no effect.

=item [17]

The F18 key (labelled Paste on many Sun workstations) or Control-y
inserts the contents of the clipboard at the position of the
insertion cursor.

=item [18]

The Delete key deletes the selection, if there is one in the Spinbox.
If there is no selection, it deletes the character to the right of
the insertion cursor.

=item [19]

The BackSpace key and Control-h delete the selection, if there is one
in the Spinbox.
If there is no selection, it deletes the character to the left of
the insertion cursor.

=item [20]

Control-d deletes the character to the right of the insertion cursor.

=item [21]

Meta-d deletes the word to the right of the insertion cursor.

=item [22]

Control-k deletes all the characters to the right of the insertion
cursor.

=item [23]

Control-t reverses the order of the two characters to the right of
the insertion cursor.

If the Spinbox is disabled using the B<-state> option, then the Spinbox's
view can still be adjusted and text in the Spinbox can still be selected,
but no insertion cursor will be displayed and no text modifications will
take place.

The behavior of Spinboxes can be changed by defining new bindings for
individual widgets or by redefining the class bindings.

=back

=head1 KEYWORDS

Spinbox, Entry, widget



( run in 2.294 seconds using v1.01-cache-2.11-cpan-84e82930d8c )