cc [ flag ... ] file ... -lcdk [ library ... ]
#include <cdk.h>
| Key | Action |
| Left Arrow | Moves the cursor to the left. |
| CTRL-B | Moves the cursor to the left. |
| Right Arrow | Moves the cursor to the right. |
| CTRL-F | Moves the cursor to the right. |
| Delete | Deletes the character at the cursor. |
| Backspace | Deletes the character before cursor, moves cursor left. |
| CTRL-V |
Pastes whatever is in the paste buffer, into the widget.
|
| CTRL-X |
Cuts the contents from the widget and saves a copy in the paste buffer.
|
| CTRL-Y |
Copies the contents of the widget into the paste buffer.
|
| CTRL-U | Erases the contents of the widget. |
| CTRL-A |
Moves the cursor to the beginning of the entry field.
|
| CTRL-E |
Moves the cursor to the end of the entry field.
|
| CTRL-T |
Transposes the character under the cursor with the character to the right.
|
| Return |
Exits the widget and returns a char * representing the information which was typed into the field.
It also sets the widget data exitType to vNORMAL.
|
| Tab |
Exits the widget and returns a char * representing the information which was typed into the field.
It also sets the widget data exitType to vNORMAL.
|
| Escape |
Exits the widget and returns a NULL pointer.
It also sets the widget data exitType to vESCAPE_HIT.
|
| Ctrl-L | Refreshes the screen. |