ELinks 0.16.1.1
el_form_control Struct Reference

#include <forms.h>

Collaboration diagram for el_form_control:

Data Fields

void * magic1
struct el_form_controlnext
struct el_form_controlprev
void * magic2
struct formform
int g_ctrl_num
int position
 The value of position is relative to the place of the form item in the source.
enum form_type type
form_mode_T mode
char * id
 used by scripts
char * name
char * alt
char * default_value
 Default value, cannot be changed by document scripts.
int default_state
int size
int cols
int rows
enum form_wrap wrap
int maxlength
int nvalues
char ** values
char ** labels
 Labels in a selection menu.
struct menu_itemmenu

Field Documentation

◆ alt

char* el_form_control::alt

◆ cols

int el_form_control::cols

◆ default_state

int el_form_control::default_state

◆ default_value

char* el_form_control::default_value

Default value, cannot be changed by document scripts.

◆ form

struct form* el_form_control::form

◆ g_ctrl_num

int el_form_control::g_ctrl_num

◆ id

char* el_form_control::id

used by scripts

◆ labels

char** el_form_control::labels

Labels in a selection menu.

  • For FC_SELECT: labels are in the charset of the terminal. (That charset can be UTF-8 only if CONFIG_UTF8 is defined, and is assumed to be unibyte otherwise.) The charset of the document and the UTF-8 I/O option have no effect here.

◆ magic1

void* el_form_control::magic1

◆ magic2

void* el_form_control::magic2

◆ maxlength

int el_form_control::maxlength

◆ menu

struct menu_item* el_form_control::menu

◆ mode

form_mode_T el_form_control::mode

◆ name

char* el_form_control::name

◆ next

struct el_form_control* el_form_control::next

◆ nvalues

int el_form_control::nvalues

◆ position

int el_form_control::position

The value of position is relative to the place of the form item in the source.

◆ prev

struct el_form_control* el_form_control::prev

◆ rows

int el_form_control::rows

◆ size

int el_form_control::size

◆ type

enum form_type el_form_control::type

◆ values

char** el_form_control::values

◆ wrap

enum form_wrap el_form_control::wrap

The documentation for this struct was generated from the following file: