Editable text box widget.
Definition in file editbox.h.
static void init_editbox |
( |
struct edit_box * |
box, |
|
|
unsigned int |
row, |
|
|
unsigned int |
col, |
|
|
unsigned int |
width, |
|
|
unsigned int |
flags, |
|
|
char ** |
buf |
|
) |
| |
|
inlinestatic |
Initialise text box widget.
- Parameters
-
box | Editable text box widget |
row | Row |
col | Starting column |
width | Width |
flags | Flags |
buf | Dynamically allocated string buffer |
Definition at line 39 of file editbox.h.
int box(WINDOW *win, chtype verch, chtype horch)
Draw borders from single-byte characters and renditions around a window.
struct widget_operations editbox_operations
Text box widget operations.
static __nonnull void init_editstring(struct edit_string *string, char **buf)
Initialise editable string.
size_t strlen(const char *src)
Get length of string.
References box(), editbox_operations, flags, init_editstring(), init_widget(), strlen(), and WIDGET_EDITABLE.
Referenced by layout_form(), and select_setting_row().