Phoenix Logo

phoenix_title 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 Class Hierarchy

Inheritance diagram for class HtmlLinkInfo:

method_summary Methods Summary

__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).

property_summary Properties Summary

Event See GetEvent
Href See GetHref
HtmlCell See GetHtmlCell
Target See GetTarget

api Class API



class 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).


Methods



__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)

Default constructor.



__init__ (self, href, target=””)

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

Parameters:
  • href (string) –
  • target (string) –





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

Properties



Event

See GetEvent



Href

See GetHref



HtmlCell

See GetHtmlCell



Target

See GetTarget