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() -> None
HtmlLinkInfo(href : str, target: str='') -> None
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.
None
__init__ (self, href : str, target: str=’’)
Construct hypertext link from HREF
(aka URL) and TARGET
(name of target frame).
href (string) –
target (string) –
None
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.
str
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).
str
HtmlCell
¶See GetHtmlCell