|
ginnOS
The reference: libc, the libraries and the kernel
|
idunn: a field: a label above a control, and help text below it, 6 pixels apart, as the usual form row. More...
Macros | |
| #define | GAP 6 |
Functions | |
| idunn_widget_t * | idunn_field (const char *label, idunn_widget_t *control, const char *help) |
| a form row: a label above the control and help text below it (or NULL). | |
| void | idunn_field_set_error (idunn_widget_t *field, const char *message) |
| show an error: the message in red under the control, and the control's border and ring red. | |
idunn: a field: a label above a control, and help text below it, 6 pixels apart, as the usual form row.
with an error, the help text is the message, in red, and the control is red too.
| #define GAP 6 |
| idunn_widget_t * idunn_field | ( | const char * | label, |
| idunn_widget_t * | control, | ||
| const char * | help ) |
a form row: a label above the control and help text below it (or NULL).
the field owns the control.
| void idunn_field_set_error | ( | idunn_widget_t * | field, |
| const char * | message ) |
show an error: the message in red under the control, and the control's border and ring red.
NULL takes it away (the help text comes back).