man cdk_position (Fonctions bibliothèques) - curses widget positioning key-bindings

NAME

cdk_position - curses widget positioning key-bindings

SYNOPSIS

Position methods for the Cdk widgets allow the user to move the widget around the screen via the cursor/keypad keys.

DESCRIPTION

The following key bindings can be used to move the widget around the screen.

center tab(/) box; l l lw15 lw35 . Key/Action = 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} =

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.

SEE ALSO