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
Frames are not currently supported by HTML!
Default constructor. |
|
Return pointer to event that generated OnLinkClicked() event. |
|
Return |
|
Return pointer to the cell that was clicked. |
|
Return |
See |
|
See |
|
See |
|
See |
wx.html.
HtmlLinkInfo
(Object)¶Possible constructors:
HtmlLinkInfo()
HtmlLinkInfo(href, target="")
This class stores all necessary information about hypertext links (as represented by <A> tag in HTML documents).
__init__
(self, *args, **kw)¶__init__ (self)
Default constructor.
__init__ (self, href, target=””)
Construct hypertext link from HREF
(aka URL) and TARGET
(name of target frame).
href (string) –
target (string) –
GetEvent
(self)¶Return pointer to event that generated OnLinkClicked() event.
Valid only within wx.html.HtmlWindow.OnLinkClicked
, None
otherwise.
MouseEvent
GetHref
(self)¶Return HREF
value of the <A> tag.
string
GetHtmlCell
(self)¶Return pointer to the cell that was clicked.
Valid only within wx.html.HtmlWindow.OnLinkClicked
, None
otherwise.
GetTarget
(self)¶Return TARGET
value of the <A> tag (this value is used to specify in which frame should be the page pointed by GetHref
Href opened).
string
HtmlCell
¶See GetHtmlCell