Kevin Walzer wrote:
Not all parts of this are relevant, since I'm using Tkinter and bumping up against Tk's limited support for displaying HTML, but it will give you an idea of the issues.

Since you're using wxPython, can't you just call either the wxHelp API (a bit complicated if I recall correctly) or simply create a simple HTML viewer? I think something like that is in the wxPython demo code.

With wx, there are two good options for doing your own HTML help:

use wxHTML -- this is simple and fast, and I think there is a help-browsing app built in wxPython already, for the wxPython help. The downside is that it does not support modern HTML (i.e. CSS, etc).

If you want full-on HTML, you can embed the system browser -- on the Mac, that's the webkitctrl -- it works pretty well.

In the future, I hope wxWebKit will be robust enough to use -- it may be now for things like basic help -- that would give you full cross platform control over the browser component.

Of course, just pointing the system browser at your help is quick and easy.

-Chris






--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to