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.
EVT_HTML_CELL_HOVER: User moved the mouse over a wx.html.HtmlCell.
EVT_HTML_CELL_CLICKED: User clicked on a wx.html.HtmlCell. When handling this event, remember to use HtmlCell.SetLinkClicked(true) if the cell contains a link. ^^
The constructor is not normally used by the user code. |
|
Returns the wx.html.HtmlCellEvent associated with the event. |
|
Returns |
|
Returns the wx.MouseEvent associated with the event. |
|
Returns the wx.Point associated with the event. |
|
Call this function with linkclicked set to |
See |
|
See |
|
See |
|
See |
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.
commandType (wx.EventType) –
id (int) –
cell (wx.html.HtmlCell) –
point (wx.Point) –
ev (wx.MouseEvent) –
GetCell
(self)¶Returns the wx.html.HtmlCellEvent associated with the event.
GetLinkClicked
(self)¶Returns True
if SetLinkClicked(true) has previously been called; False
otherwise.
bool
GetMouseEvent
(self)¶Returns the wx.MouseEvent associated with the event.
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.
linkclicked (bool) –
LinkClicked
¶See GetLinkClicked
and SetLinkClicked
MouseEvent
¶See GetMouseEvent