ELinks 0.18.0
common.h File Reference
This graph shows which files directly or indirectly include this file:

Typedefs

typedef widget_handler_status_T widget_handler_T(struct dialog_data *, struct widget_data *)

Enumerations

enum  widget_handler_status_T { EVENT_PROCESSED = 0 , EVENT_NOT_PROCESSED = 1 }
enum  widget_type {
  WIDGET_CHECKBOX , WIDGET_FIELD , WIDGET_FIELD_PASS , WIDGET_BUTTON ,
  WIDGET_LISTBOX , WIDGET_TEXT
}
 Type of widget. More...

Typedef Documentation

◆ widget_handler_T

typedef widget_handler_status_T widget_handler_T(struct dialog_data *, struct widget_data *)

Enumeration Type Documentation

◆ widget_handler_status_T

Enumerator
EVENT_PROCESSED 
EVENT_NOT_PROCESSED 

◆ widget_type

Type of widget.

Each type has a struct widget_ops that contains pointers to type-specific handler functions. For example, field_ops.kbd points to a function that handles keyboard events for WIDGET_FIELD.

Enumerator
WIDGET_CHECKBOX 

A check box or a radio button.

See also
checkbox_ops
WIDGET_FIELD 

A single-line input field.

See also
field_ops
WIDGET_FIELD_PASS 

A single-line input field for a password.

Like WIDGET_FIELD but shows asterisks instead of the text.

See also
field_pass_ops
WIDGET_BUTTON 

A button that the user can push.

See also
button_ops
WIDGET_LISTBOX 

A list or tree of items.

See also
listbox_ops
WIDGET_TEXT 

A block of text that the user cannot edit but may be able to scroll.

See also
text_ops