wx.html.HtmlLinkInfo

Inheritance diagram for wx.html.HtmlLinkInfo:



Description

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

Note that frames are not currently supported by wxHTML!

Derived From

Properties Summary

Class API

Methods

__init__(href, target="")

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

Parameters:

  • href (string)
  • target (string)

Returns:

wx.html.HtmlLinkInfo


GetEvent()

Return pointer to event that generated OnLinkClicked event.

Valid only within wx.html.HtmlWindow.OnLinkClicked, None otherwise.


Returns:

wx.MouseEvent


GetHref()

Return HREF value of the <A> tag.


Returns:

string


GetHtmlCell()

Return pointer to the cell that was clicked.

Valid only within wx.html.HtmlWindow.OnLinkClicked, None otherwise.


Returns:

wx.html.HtmlCell


GetTarget()

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


Returns:

string


SetEvent(e)

Parameters:


SetHtmlCell(e)

Parameters:


Properties

Event
See GetEvent and SetEvent
Href
See GetHref
HtmlCell
See GetHtmlCell and SetHtmlCell
Target
See GetTarget