ELinks 0.18.0
el_form_control Struct Reference

#include <forms.h>

Collaboration diagram for el_form_control:

Public Member Functions

 LIST_HEAD_EL (struct el_form_control)
 

Data Fields

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
 

Member Function Documentation

◆ LIST_HEAD_EL()

el_form_control::LIST_HEAD_EL ( struct el_form_control )

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.

◆ 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

◆ 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.

◆ 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: