wx.html.HtmlHelpDialog¶This class is used by wx.html.HtmlHelpController to display help.
It is an internal class and should not be used directly - except for the case when you’re writing your own HTML help controller.
Class Hierarchy¶
Inheritance diagram for class HtmlHelpDialog:

Methods Summary¶You may override this virtual method to add more buttons to the help window’s toolbar. |
|
Creates the dialog. |
|
Returns the help controller associated with the dialog. |
|
Sets the help controller associated with the dialog. |
|
Sets the dialog’s title format. |
Properties Summary¶See |
Class API¶wx.html.HtmlHelpDialog(Dialog)¶Possible constructors:
HtmlHelpDialog(data=None)
HtmlHelpDialog(parent, id=ID_ANY, title="", style=HF_DEFAULT_STYLE,
data=None)
This class is used by HtmlHelpController to display help.
__init__(self, *args, **kw)¶__init__ (self, data=None)
data (wx.html.HtmlHelpData) –
__init__ (self, parent, id=ID_ANY, title=””, style=HF_DEFAULT_STYLE, data=None)
Constructor.
For the possible values of style, please see wx.html.HtmlHelpController.
parent (wx.Window) –
id (wx.WindowID) –
title (string) –
style (int) –
data (wx.html.HtmlHelpData) –
AddToolbarButtons(self, toolBar, style)¶You may override this virtual method to add more buttons to the help window’s toolbar.
toolBar is a pointer to the toolbar and style is the style flag as passed to the Create method.
wx.ToolBar.Realize is called immediately after returning from this function.
toolBar (wx.ToolBar) –
style (int) –
Create(self, parent, id=ID_ANY, title="", style=HF_DEFAULT_STYLE)¶Creates the dialog.
See the constructor for a description of the parameters.
parent (wx.Window) –
id (wx.WindowID) –
title (string) –
style (int) –
bool
GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)¶variant (WindowVariant) –
VisualAttributes
GetController(self)¶Returns the help controller associated with the dialog.
SetController(self, controller)¶Sets the help controller associated with the dialog.
controller (wx.html.HtmlHelpController) –
SetTitleFormat(self, format)¶Sets the dialog’s title format.
format must contain exactly one “%s” (it will be replaced by the page title).
format (string) –
Controller¶See GetController and SetController