GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • wx.html.HtmlCellEvent
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx.html

This view

  • Original page
  • New address

GeezerVison is showing docs.wxpython.org — wx.html.HtmlCellEvent — wxPython 4.3.2 Docs

phoenix_title wx.html.HtmlCellEvent¶

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

events Events Emitted by this Class¶

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.


class_hierarchy Class Hierarchy¶

Inheritance diagram for class HtmlCellEvent:

Inheritance diagram of HtmlCellEvent


method_summary Methods Summary¶

__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.

GetMouseEvent

Returns the wx.MouseEvent associated with the event.

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).


property_summary Properties Summary¶

Cell

See GetCell

LinkClicked

See GetLinkClicked and SetLinkClicked

MouseEvent

See GetMouseEvent

Point

See GetPoint


api Class API¶

class wx.html.HtmlCellEvent(CommandEvent)¶

Possible constructors:

HtmlCellEvent(commandType, id, cell, point, ev) -> None

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


Methods¶

__init__(self, commandType, id, cell, point, ev)¶

The constructor is not normally used by the user code.

Parameters:
  • commandType (wx.EventType)

  • id (int)

  • cell (wx.html.HtmlCell)

  • point (wx.Point)

  • ev (wx.MouseEvent)

Return type:

None



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



GetMouseEvent(self)¶

Returns the wx.MouseEvent associated with the event.

Return type:

MouseEvent



GetPoint(self)¶

Returns the wx.Point associated with the event.

Return type:

Point



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)

Return type:

None


Properties¶

Cell¶

See GetCell



LinkClicked¶

See GetLinkClicked and SetLinkClicked



MouseEvent¶

See GetMouseEvent



Point¶

See GetPoint

© Copyright 2012-2026, The wxPython Team. Created using Sphinx 9.1.0 and the python-docs-theme.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.