1cdk_position(3)            Library Functions Manual            cdk_position(3)
2
3
4

NAME

6       cdk_position - curses widget positioning key-bindings
7

SYNOPSIS

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

DESCRIPTION

13       The following key bindings can be used to move the  widget  around  the
14       screen.
15
16          ┌───────────────────────────────────────────────────────────────┐
17Key               Action                                       
18          ├───────────────────────────────────────────────────────────────┤
19          │Up Arrow          Moves the widget up one row.                 │
20          │Down Arrow        Moves the widget down one row.               │
21          │Left Arrow        Moves the widget left one column             │
22          │Right Arrow       Moves the widget right one column            │
23          │1                 Moves  the  widget down one row and left one │
24          │                  column.                                      │
25          │2                 Moves the widget down one row.               │
26          │3                 Moves the widget down one row and right  one │
27          │                  column.                                      │
28          │4                 Moves the widget left one column             │
29          │5                 Centers the widget both vertically and hori‐ │
30          │                  zontally.                                    │
31          │6                 Moves the widget right one column            │
32          │7                 Moves the widget up one  row  and  left  one │
33          │                  column.                                      │
34          │8                 Moves the widget up one row.                 │
35          │9                 Moves  the  widget  up one row and right one │
36          │                  column.                                      │
37          │t                 Moves the widget to the top of the screen.   │
38          │b                 Moves  the  widget  to  the  bottom  of  the │
39          │                  screen.                                      │
40          │l                 Moves the widget to the left of the screen.  │
41          │r                 Moves the widget to the right of the screen. │
42          │c                 Centers  the  widget  between  the  left and │
43          │                  right of the window.                         │
44          │C                 Centers the widget between the top and  bot‐ │
45          │                  tom of the window.                           │
46          │Escape            Returns the widget to its original position. │
47          │Return            Exits  the  function  and  leaves  the  wid‐ │
48          │                  getwhere it was.                             │
49          ├───────────────────────────────────────────────────────────────┤
50          └───────────────────────────────────────────────────────────────┘
51       The numbers 0-9 are chosen to correspond to the numeric keypad on  your
52       terminal.   Cdk  does  not  handle  the application mode keypad control
53       sequences, since those are  not  defined  via  terminfo.   To  use  the
54       numeric  keypad  you  should  ensure  that it is in normal (or NumLock)
55       mode.
56

SEE ALSO

58       cdk(3), cdk_binding(3), cdk_display(3), cdk_screen(3)
59
60
61
62                                                               cdk_position(3)
Impressum