ELinks 0.18.0
link Struct Reference

#include <document.h>

Collaboration diagram for link:

Data Fields

unicode_val_T accesskey
enum link_type type
int element_offset
char * where
char * target
char * where_img
char * title
 The title of the link.
struct pointpoints
 The set of characters belonging to this link (their coordinates in the document) - each character has own struct point.
int npoints
int number
struct color_pair color
 This is supposed to be the colour-pair of the link, but the actual colours on the canvas can differ–e.g., with image links.
struct script_event_hook list * event_hooks
union { 
   char *   name 
   struct el_form_control *   form_control 
data

Field Documentation

◆ accesskey

unicode_val_T link::accesskey

◆ color

struct color_pair link::color

This is supposed to be the colour-pair of the link, but the actual colours on the canvas can differ–e.g., with image links.

◆ [union]

union { ... } link::data

◆ element_offset

int link::element_offset

◆ event_hooks

struct script_event_hook list* link::event_hooks

XXX: They don't neccessary need to be link-specific, but we just don't support them for any other elements for now. Well, we don't even have a good place where to store them in that case.

◆ form_control

struct el_form_control* link::form_control

◆ name

char* link::name

◆ npoints

int link::npoints

◆ number

int link::number

◆ points

struct point* link::points

The set of characters belonging to this link (their coordinates in the document) - each character has own struct point.

◆ target

char* link::target

◆ title

char* link::title

The title of the link.

This is in the document charset, and entities have already been decoded.

◆ type

enum link_type link::type

◆ where

char* link::where

◆ where_img

char* link::where_img

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