wx.html.HtmlCellEvent

Inheritance diagram for wx.html.HtmlCellEvent:



Description

This event class is used for the events generated by wx.html.HtmlWindow.

Event Handling

Event Name Description
wx.html.EVT_HTML_CELL_HOVER(id, func) User moved the mouse over a wx.html.HtmlCell.
wx.html.EVT_HTML_CELL_CLICKED(id, func) User clicked on a wx.html.HtmlCell. When handling this event, remember to use SetLinkClicked if the cell contains a link.

Class API

Methods

__init__(commandType, id, cell, pt, ev)

The constructor is not normally used by the user code.

Parameters:


Returns:

wx.html.HtmlCellEvent


GetCell()

Returns the wx.html.HtmlCell associated with the event.


Returns:

wx.html.HtmlCell


GetLinkClicked()

Returns True if SetLinkClicked has previously been called; False otherwise.


Returns:

bool


GetMouseEvent()
No docstrings available for this method.

GetPoint()

Returns the wx.Point associated with the event.


Returns:

wx.Point


SetLinkClicked(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)

Returns:

bool