This event class is used for the events generated by wx.html.HtmlWindow.
Handlers bound for the following event types will receive a wx.html.HtmlCellEvent parameter.
__init__ |
The constructor is not normally used by the user code. |
GetCell |
Returns the wx.html.HtmlCellEvent associated with the event. |
GetLinkClicked |
Returns True if SetLinkClicked(true) has previously been called; False otherwise. |
GetPoint |
Returns the wx.Point associated with the event. |
SetLinkClicked |
Call this function with linkclicked set to True if the cell which has been clicked contained a link or False otherwise (which is the default). |
Cell |
See GetCell |
LinkClicked |
See GetLinkClicked and SetLinkClicked |
Point |
See GetPoint |
wx.html.
HtmlCellEvent
(CommandEvent)¶Possible constructors:
HtmlCellEvent(commandType, id, cell, point, ev)
This event class is used for the events generated by HtmlWindow.
__init__
(self, commandType, id, cell, point, ev)¶The constructor is not normally used by the user code.
Parameters: |
|
---|
GetCell
(self)¶Returns the wx.html.HtmlCellEvent associated with the event.
Return type: | wx.html.HtmlCell |
---|
GetLinkClicked
(self)¶Returns True
if SetLinkClicked(true) has previously been called; False
otherwise.
Return type: | bool |
---|
SetLinkClicked
(self, linkclicked)¶Call this function with linkclicked set to True
if the cell which has been clicked contained a link or False
otherwise (which is the default).
With this function the event handler can return info to the wx.html.HtmlWindow which sent the event.
Parameters: | linkclicked (bool) – |
---|
LinkClicked
¶See GetLinkClicked
and SetLinkClicked