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