wxhtmllinkinfothis 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 that frames are not currently supported by wxhtml! derived from include files <wx/html/htmlcell.h> members
wxhtmllinkinfo::wxhtmllinkinfo
wxhtmllinkinfo::wxhtmllinkinfowxhtmllinkinfo() default ctor. wxhtmllinkinfo(const wxstring& href, const wxstring& target = wxemptystring) construct hypertext link from href (aka url) and target (name of target frame).
wxhtmllinkinfo::geteventconst wxmouseevent * getevent() return pointer to event that generated onlinkclicked event. valid only within wxhtmlwindow::onlinkclicked, null otherwise.
wxhtmllinkinfo::gethtmlcellconst wxhtmlcell * gethtmlcell() return pointer to the cell that was clicked. valid only within wxhtmlwindow::onlinkclicked, null otherwise.
wxhtmllinkinfo::gethrefwxstring gethref() return href value of the <a> tag.
wxhtmllinkinfo::gettargetwxstring gettarget() return target value of the <a> tag (this value is used to specify in which frame should be the page pointed by href opened).
|