ELinks 0.16.1.1
|
#include <form.h>
Data Fields | |
struct form_view * | form_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. |
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).
struct form_view* form_state::form_view |
int form_state::g_ctrl_num |
int form_state::position |
int form_state::state |
Position in value, or an editable integer.
state
is the byte position of the insertion point in value.state
is 1 or 0.state
is the index of the selected item in form_control.labels. int form_state::state_cell |
Position in the screen.
state_cell
is not used. enum form_type form_state::type |
char* form_state::value |
int form_state::vpos |
Horizontal scrolling.
vpos
is the index of the first displayed byte in value. It should never be in the middle of a character. int form_state::vypos |
Vertical scrolling.