|
ginnOS
The reference: libc, the libraries and the kernel
|
idunn: a text area: text in lines that wrap at spaces, in the same well as a text field. More...
Macros | |
| #define | PAD_X 12 |
| #define | PAD_Y 8 |
| #define | ROWS 4 |
| #define | WIDTH 240 |
| #define | BLINK_MS 500 |
| #define | WHEEL 3 |
Functions | |
| idunn_widget_t * | idunn_text_area (const char *placeholder, int rows) |
| a text area: lines that wrap, Enter for a new line; it scrolls. | |
| const char * | idunn_text_area_text (const idunn_widget_t *area) |
| void | idunn_text_area_set_text (idunn_widget_t *area, const char *text) |
| void | idunn_text_area_on_change (idunn_widget_t *area, idunn_callback_t on_change, void *data) |
idunn: a text area: text in lines that wrap at spaces, in the same well as a text field.
Enter makes a new line; Up and Down keep the caret's column; the text scrolls with the caret and the wheel.
| #define PAD_X 12 |
| #define PAD_Y 8 |
| #define ROWS 4 |
| #define WIDTH 240 |
| #define BLINK_MS 500 |
| #define WHEEL 3 |
| idunn_widget_t * idunn_text_area | ( | const char * | placeholder, |
| int | rows ) |
a text area: lines that wrap, Enter for a new line; it scrolls.
| rows | the lines it shows (its height), 0 for 4. |
| const char * idunn_text_area_text | ( | const idunn_widget_t * | area | ) |
| void idunn_text_area_set_text | ( | idunn_widget_t * | area, |
| const char * | text ) |
| void idunn_text_area_on_change | ( | idunn_widget_t * | area, |
| idunn_callback_t | on_change, | ||
| void * | data ) |