This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
magicka/deps/cdk-5.0-20161210/man/cdk_position.3
2017-03-20 21:40:32 +10:00

92 lines
1.9 KiB
Groff

'\" t
.\" $Id: cdk_position.3,v 1.4 2002/08/09 22:15:50 tom Exp $
.TH cdk_position 3
.SH NAME
cdk_position \- curses widget positioning key-bindings
.SH SYNOPSIS
Position methods for the Cdk widgets
allow the user to move the widget around the screen via the
cursor/keypad keys.
.SH DESCRIPTION
The following key bindings can be used to move the
widget around the screen.
.LP
.TS
center tab(/) box;
l l
lw15 lw35 .
\fBKey/Action\fR
=
Up Arrow/T{
Moves the widget up one row.
T}
Down Arrow/T{
Moves the widget down one row.
T}
Left Arrow/T{
Moves the widget left one column
T}
Right Arrow/T{
Moves the widget right one column
T}
1/T{
Moves the widget down one row and left one column.
T}
2/T{
Moves the widget down one row.
T}
3/T{
Moves the widget down one row and right one column.
T}
4/T{
Moves the widget left one column
T}
5/T{
Centers the widget both vertically and horizontally.
T}
6/Moves the widget right one column
7/T{
Moves the widget up one row and left one column.
T}
8/T{
Moves the widget up one row.
T}
9/T{
Moves the widget up one row and right one column.
T}
t/T{
Moves the widget to the top of the screen.
T}
b/T{
Moves the widget to the bottom of the screen.
T}
l/T{
Moves the widget to the left of the screen.
T}
r/T{
Moves the widget to the right of the screen.
T}
c/T{
Centers the widget between the left and right of the window.
T}
C/T{
Centers the widget between the top and bottom of the window.
T}
Escape/Returns the widget to its original position.
Return/T{
Exits the function and leaves the widgetwhere it was.
T}
=
.TE
.LP
The numbers 0-9 are chosen to correspond to the numeric keypad on your terminal.
Cdk does not handle the application mode keypad control sequences,
since those are not defined via terminfo.
To use the numeric keypad you should ensure that it is in normal (or NumLock)
mode.
.SH SEE ALSO
.BR cdk (3),
.BR cdk_binding (3),
.BR cdk_display (3),
.BR cdk_screen (3)