help window

Hello,

I have a wxApp that I want to create documentation for. I would like something that can be used locally and on the web, preferably interchangeable so that I don’t have to maintain both. I noticed the online helpproviders class in the wxpython docs. However there is no example in the wxsamples. Is this the correct module for what I would like to do or is there something else that would work better. I’d like something that handles all the fonts etc so that they default to what windows does for its standard help dialog.

thanks,

Jeff

Hi,

I’m not quite sure about it, but I thought, that the HelpProvider is rather used for context sensitive hints directly in the gui (check the demo for ContextHelp).

I’m also not sure whether there is something built-in to display a regular help document via wx.

You could use e.g. ScrolledMessageDialog for plain text or HtmlWindow for (simplified) html (or the default browser via python module webbrowser), but this is probably not what you meant.

(webbrowser.open(…) also handles windows’ standard helpfiles *.chm, if you supply them.)

hth

Vlasta

···

2009/11/23 Jeff Peery jeffpeery@yahoo.com

Hello,

I have a wxApp that I want to create documentation for. I would like something that can be used locally and on the web, preferably interchangeable so that I don’t have to maintain both. I noticed the online helpproviders class in the wxpython docs. However there is no example in the wxsamples. Is this the correct module for what I would like to do or is there something else that would work better. I’d like something that handles all the fonts etc so that they default to what windows does for its standard help dialog.

thanks,

Jeff

See HtmlHelpController. There isn't anything in the demo for it currently, but there is a simple sample in the book.

···

On 11/23/09 2:53 PM, Jeff Peery wrote:

Hello,
I have a wxApp that I want to create documentation for. I would like
something that can be used locally and on the web, preferably
interchangeable so that I don't have to maintain both. I noticed the
online helpproviders class in the wxpython docs. However there is no
example in the wxsamples. Is this the correct module for what I would
like to do or is there something else that would work better. I'd like
something that handles all the fonts etc so that they default to what
windows does for its standard help dialog.

--
Robin Dunn
Software Craftsman