wxRuby Documentation Home

# Wx::HtmlLinkInfo

This class stores all necessary information about hypertext
links (as represented by `<A>` tag in HTML documents). In
current implementation it stores URL and target frame name.
Note that frames are not currently supported by HTML!

## Derived from

Object

## Methods

- HtmlLinkInfo.new
- HtmlLinkInfo#get_event
- HtmlLinkInfo#get_html_cell
- HtmlLinkInfo#get_href
- HtmlLinkInfo#get_target

### HtmlLinkInfo.new

HtmlLinkInfo.new(%(arg-type)String% href, String target = ’’)

Construct hypertext link from HREF (aka URL) and TARGET (name of target
frame).

### HtmlLinkInfo#get_event

MouseEvent get_event()

Return pointer to event that generated OnLinkClicked event. Valid
only within HtmlWindow#on_link_clicked,
NULL otherwise.

### HtmlLinkInfo#get_html_cell

HtmlCell get_html_cell()

Return pointer to the cell that was clicked. Valid
only within HtmlWindow#on_link_clicked,
NULL otherwise.

### HtmlLinkInfo#get_href

String get_href()

Return HREF value of the `<A>` tag.

### HtmlLinkInfo#get_target

String get_target()

Return TARGET value of the `<A>` tag (this value
is used to specify in which frame should be the page pointed
by Href opened).

[This page automatically generated from the Textile source at 2023-06-09 00:45:26 +0000]