cc [ flag ... ] file ... -lcdk [ library ... ]
#include <cdk.h>
| Key | Action |
| Up Arrow |
Scrolls the scrolling list up one line.
|
| Down Arrow |
Scrolls the scrolling list down one line.
|
| Page Up |
Scrolls the scrolling list up one page.
|
| CTRL-B |
Scrolls the scrolling list up one page.
Page Down/Scrolls the scrolling list down one page.
|
| CTRL-F |
Scrolls the scrolling list down one page.
|
| Tab |
Tries to complete the word in the entry field.
If the word segment is not unique then the
widget will beep and present a list of close matches.
|
| Return |
Returns the word in the entry 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.
|
This widget is created from the scrolling list widget and the entry field widget. This is a good example on how to build your own widgets using the base widgets provided in this distribution.