cdk_position - Man Page

Cdk 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.

KeyAction
Up ArrowMoves the widget up one row.
Down ArrowMoves the widget down one row.
Left ArrowMoves the widget left one column
Right ArrowMoves the widget right one column
1Moves the widget down one row and left one column.
2Moves the widget down one row.
3Moves the widget down one row and right one column.
4Moves the widget left one column
5Centers the widget both vertically and horizontally.
6Moves the widget right one column
7Moves the widget up one row and left one column.
8Moves the widget up one row.
9Moves the widget up one row and right one column.
tMoves the widget to the top of the screen.
bMoves the widget to the bottom of the screen.
lMoves the widget to the left of the screen.
rMoves the widget to the right of the screen.
cCenters the widget between the left and right of the window.
CCenters the widget between the top and bottom of the window.
EscapeReturns the widget to its original position.
ReturnExits the function and leaves the widgetwhere it was.

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

cdk(3), cdk_binding(3), cdk_display(3), cdk_screen(3)

Referenced By

cdk_alphalist(3), cdk_button(3), cdk_buttonbox(3), cdk_calendar(3), cdk_dialog(3), cdk_dscale(3), cdk_entry(3), cdk_fscale(3), cdk_fselect(3), cdk_fslider(3), cdk_graph(3), cdk_histogram(3), cdk_itemlist(3), cdk_label(3), cdk_marquee(3), cdk_matrix(3), cdk_mentry(3), cdk_params(3), cdk_radio(3), cdk_scale(3), cdk_scroll(3), cdk_selection(3), cdk_slider(3), cdk_swindow(3), cdk_template(3), cdk_uscale(3), cdk_uslider(3), cdk_util(3), cdk_viewer(3).

2024-03-28 Library calls