ELinks 0.18.0
form_state Struct Reference

#include <form.h>

Collaboration diagram for form_state:

Data Fields

struct form_viewform_view
 
int g_ctrl_num
 
int position
 
enum form_type type
 
char * value
 
int state
 Position in value, or an editable integer.
 
int state_cell
 Position in the screen.
 
int vpos
 Horizontal scrolling.
 
int vypos
 Vertical scrolling.
 
void * ecmascript_obj
 This holds the ECMAScript object attached to this structure.
 

Related Symbols

(Note that these are not member symbols.)

void done_form_state (struct form_state *fs)
 Free any data owned by fs, but not the struct form_state itself, because that is normally allocated as part of an array.
 

Friends And Related Symbol Documentation

◆ done_form_state()

void done_form_state ( struct form_state * fs)
related

Free any data owned by fs, but not the struct form_state itself, because that is normally allocated as part of an array.

Field Documentation

◆ ecmascript_obj

void* form_state::ecmascript_obj

This holds the ECMAScript object attached to this structure.

It can be NULL since the object is created on-demand at the first time some ECMAScript code accesses it. It is freed automatically by the garbage-collecting code when the ECMAScript context is over (usually when the document is destroyed).

◆ form_view

struct form_view* form_state::form_view

◆ g_ctrl_num

int form_state::g_ctrl_num

◆ position

int form_state::position

◆ state

int form_state::state

Position in value, or an editable integer.

◆ state_cell

int form_state::state_cell

Position in the screen.

◆ type

enum form_type form_state::type

◆ value

char* form_state::value

◆ vpos

int form_state::vpos

Horizontal scrolling.

◆ vypos

int form_state::vypos

Vertical scrolling.



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