Getting text contents of html cell

Hello all,

I am using an wx.HtmlWindow so that I can display text with
different fonts/sizes/colors, use table-based layouts, etc. Now
I want to have the user click on some text in the window, and
have my application do something based on what word was
clicked. The demo shows how to get the html cell that was
clicked, but how do I get the textual contents of the cell?

Thanks...

Stuart McGraw wrote:

Hello all,

I am using an wx.HtmlWindow so that I can display text with
different fonts/sizes/colors, use table-based layouts, etc. Now
I want to have the user click on some text in the window, and
have my application do something based on what word was
clicked. The demo shows how to get the html cell that was
clicked, but how do I get the textual contents of the cell?

It's not possible currently, but I've made a change for 2.6.3 that
enables it.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!