wxHtmlLinkEvent(3erl)

πŸ’– NAME πŸ’–

wxHtmlLinkEvent β€” Functions for wxHtmlLinkEvent class. That’s the manual-name moment, bestie: wxHtmlLinkEvent(3erl), an Erlang module definition. πŸ’…

✨ DESCRIPTION ✨

okay so this event class is literally used for the events generated by wxHtmlWindow. main character energy fr fr.

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. no cap, that’s the whole vibe check. ✨

πŸ¦‹ DATA TYPES πŸ¦‹

the data-type squad, looking iconic:

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. lowkey delicious info, honestly. πŸ“

source/version/date check, bestie: wxWidgets team, version wx 2.2.2.1, and the footer has no date β€” so we’re not inventing one, periodt 🫢

πŸ“¦ where this page comes from