#include </home/zeitlin/src/wx/github/interface/wx/html/htmlwin.h>
This event class is used for the events generated by wxHtmlWindow.
The following event handler macros redirect the events to member function handlers 'func' with prototypes like:
Event macros:
Public Member Functions | |
wxHtmlCellEvent (wxEventType commandType, int id, wxHtmlCell *cell, const wxPoint &point, const wxMouseEvent &ev) | |
The constructor is not normally used by the user code. | |
wxHtmlCell * | GetCell () const |
Returns the wxHtmlCellEvent associated with the event. | |
bool | GetLinkClicked () const |
Returns true if SetLinkClicked(true) has previously been called; false otherwise. | |
wxPoint | GetPoint () const |
Returns the wxPoint associated with the event. | |
void | SetLinkClicked (bool 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). |
wxHtmlCellEvent::wxHtmlCellEvent | ( | wxEventType | commandType, |
int | id, | ||
wxHtmlCell * | cell, | ||
const wxPoint & | point, | ||
const wxMouseEvent & | ev | ||
) |
The constructor is not normally used by the user code.
wxHtmlCell* wxHtmlCellEvent::GetCell | ( | ) | const |
Returns the wxHtmlCellEvent associated with the event.
bool wxHtmlCellEvent::GetLinkClicked | ( | ) | const |
Returns true if SetLinkClicked(true) has previously been called; false otherwise.
void wxHtmlCellEvent::SetLinkClicked | ( | bool | 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 wxHtmlWindow which sent the event.