How to change link attributes in wx.html.HtmlWindow

Hi folks,

Is there a way to change the default link color and remove link underlining in wx.html.HtmlWindow? I've read the docs but didn't see anything that addressed this.

Thanks,
Dan

Daniel B. Koch wrote:

Hi folks,

Is there a way to change the default link color and remove link underlining in wx.html.HtmlWindow? I've read the docs but didn't see anything that addressed this.

I don't think the underline can be removed, but try something like this to change the colour:

  htmlWindow.GetParser().SetLinkColour(c)

ยทยทยท

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