---
name: "wxHtmlLinkEvent"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/wxHtmlLinkEvent"
---

# wxHtmlLinkEvent(3erl)

Functions for wxHtmlLinkEvent class

## NAME

wxHtmlLinkEvent - Functions for wxHtmlLinkEvent class

## DESCRIPTION

This event class is used for the events generated by *wxHtmlWindow*.

This class is derived (and can use functions) from: *wxCommandEvent* *wxEvent*

wxWidgets docs: wxHtmlLinkEvent

## EVENTS

Use *wxEvtHandler:connect/3* with *wxHtmlLinkEventType* to subscribe to events of this type.

## DATA TYPES

```
wxHtmlLinkEvent() = wx:wx_object()
```

```
wxHtmlLink() =
    #wxHtmlLink{type = wxHtmlLinkEvent:wxHtmlLinkEventType(),
                linkInfo = wx:wx_wxHtmlLinkInfo()}
```

```
wxHtmlLinkEventType() =
    command_html_link_clicked | html_cell_clicked |
    html_cell_hover
```

## EXPORTS

```
getLinkInfo(This) -> wx:wx_wxHtmlLinkInfo()
```

Types:

This = wxHtmlLinkEvent()\

Returns the *wx\_wxHtmlLinkInfo()* which contains info about the cell clicked and the hyperlink it contains.
