cc [ flag ... ] file ... -lcdk [ library ... ]
#include <cdk.h>
| Key | Action |
| CTRL-^ | Displays statistics about the current filename. |
| Tab | Tries to complete the current filename. |
| 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.
|
| Return |
Returns the filename in the entry field of the file selector.
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. In order for you to delete files using the file selector, you must add the following call into your program. (the character X is the character you wish to use to tell the file selector you want to delete a file.)