phoenix_title 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 Class Hierarchy

Inheritance diagram for class HtmlHelpDialog:

method_summary Methods Summary

__init__

AddToolbarButtons

You may override this virtual method to add more buttons to the help window’s toolbar.

Create

Creates the dialog.

GetClassDefaultAttributes

GetController

Returns the help controller associated with the dialog.

SetController

Sets the help controller associated with the dialog.

SetTitleFormat

Sets the dialog’s title format.


property_summary Properties Summary

Controller

See GetController and SetController


api Class API

class wx.html.HtmlHelpDialog(Dialog)

Possible constructors:

HtmlHelpDialog(data: Optional[HtmlHelpData]=None) -> None

HtmlHelpDialog(parent : Window, id: int=ID_ANY, title: str='', style:
               int=HF_DEFAULT_STYLE, data: Optional[HtmlHelpData]=None) -> None

This class is used by HtmlHelpController to display help.


Methods

__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self, data: Optional[HtmlHelpData]=None)

Parameters:

data (wx.html.HtmlHelpData) –

Return type:

None



__init__ (self, parent : Window, id: int=ID_ANY, title: str=’’, style: int=HF_DEFAULT_STYLE, data: Optional[HtmlHelpData]=None)

Constructor.

For the possible values of style, please see wx.html.HtmlHelpController.

Parameters:
Return type:

None





AddToolbarButtons(self, toolBar : ToolBar, style : int)

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.

Parameters:
Return type:

None



Create(self, parent : Window, id: int=ID_ANY, title: str='', style: int=HF_DEFAULT_STYLE)

Creates the dialog.

See the constructor for a description of the parameters.

Parameters:
  • parent (wx.Window) –

  • id (wx.WindowID) –

  • title (string) –

  • style (int) –

Return type:

bool



static GetClassDefaultAttributes(variant: WindowVariant=WINDOW_VARIANT_NORMAL)
Parameters:

variant (WindowVariant) –

Return type:

VisualAttributes



GetController(self)

Returns the help controller associated with the dialog.

Return type:

wx.html.HtmlHelpController



SetController(self, controller : HtmlHelpController)

Sets the help controller associated with the dialog.

Parameters:

controller (wx.html.HtmlHelpController) –

Return type:

None



SetTitleFormat(self, format : str)

Sets the dialog’s title format.

format must contain exactly one “%s” (it will be replaced by the page title).

Parameters:

format (string) –

Return type:

None


Properties

Controller

See GetController and SetController