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!
__init__ |
Default constructor. |
GetEvent |
Return pointer to event that generated OnLinkClicked() event. |
GetHref |
Return HREF value of the <A> tag. |
GetHtmlCell |
Return pointer to the cell that was clicked. |
GetTarget |
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). |
Event |
See GetEvent |
Href |
See GetHref |
HtmlCell |
See GetHtmlCell |
Target |
See GetTarget |
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).
Parameters: |
|
---|
GetEvent
(self)¶Return pointer to event that generated OnLinkClicked() event.
Valid only within wx.html.HtmlWindow.OnLinkClicked
, None
otherwise.
Return type: | MouseEvent |
---|
GetHref
(self)¶Return HREF
value of the <A> tag.
Return type: | string |
---|
GetHtmlCell
(self)¶Return pointer to the cell that was clicked.
Valid only within wx.html.HtmlWindow.OnLinkClicked
, None
otherwise.
Return type: | wx.html.HtmlCell |
---|
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).
Return type: | string |
---|
HtmlCell
¶See GetHtmlCell