Inheritance diagram for wx.html.HtmlHelpWindow:
This class is used by wx.html.HtmlHelpController to display help within a frame or dialog, but you can use it yourself to create an embedded HTML help window.
For example:
# embeddedHelpWindow is a wx.html.HtmlHelpWindow
# embeddedHtmlHelp is a wx.html.HtmlHelpController
# Create embedded HTML Help window
embeddedHelpWindow = wx.html.HtmlHelpWindow(self, -1, size=self.GetClientSize(), style=wx.TAB_TRAVERSAL|wx.NO_BORDER, helpStyle=wx.html.HF_DEFAULT_STYLE)
# Set your own config object here
embeddedHtmlHelp.UseConfig(config, rootPath)
embeddedHtmlHelp.SetHelpWindow(embeddedHelpWindow)
embeddedHtmlHelp.AddBook("doc.zip")
You should pass the style wx.html.HF_EMBEDDED to the style parameter of wx.html.HtmlHelpController to allow the embedded window to be destroyed independently of the help controller.
Constructor.
Parameters:
Returns:
Creates the help window.
Parameters:
Returns:
bool
Displays page x. If not found it will give the user the choice of searching books.
Looking for the page runs in these steps:
Parameters:
Returns:
bool
Displays contents panel.
Returns:
bool
Search help contents by numeric Id.
See Display for an explanation of how the display search works.
Parameters:
Returns:
bool
Displays index panel.
Returns:
bool
Returns the wx.html.HtmlHelpData object, which is usually a pointer to the controller’s data.
Returns:
Displays help window, focuses search panel and starts searching.
Returns True if the keyword was found. Optionally it searches through the index (mode = wx.html.HELP_SEARCH_INDEX), default the content (mode = wx.html.HELP_SEARCH_ALL).
Parameters:
Returns:
bool
Important
KeywordSearch searches only pages listed in .hhc file(s). You should list all pages in the contents file.
Reads the user’s settings for this frame, see wx.html.HtmlHelpController.ReadCustomization
Parameters:
Sets the help controller associated with the window.
Parameters:
Associates a wx.Config object with the help window.
It is recommended that you use wx.html.HtmlHelpController.UseConfig instead.
Parameters:
Saves the user’s settings for this window (see wx.html.HtmlHelpController.WriteCustomization).
Parameters: