This class is used by wx.html.HtmlHelpController and wx.html.HtmlHelpFrame to access HTML help items.
It is internal class and should not be used directly - except for the case you’re writing your own HTML help controller.
Constructor. |
|
Adds new book. |
|
Returns page’s URL based on integer |
|
Returns page’s URL based on its (file)name. |
|
Returns array with help books info. |
|
Returns reference to array with contents entries. |
|
Returns reference to array with index entries. |
|
Sets the temporary directory where binary cached versions of MS HTML Workshop files will be stored. |
See |
|
See |
|
See |
wx.html.
HtmlHelpData
(Object)¶Possible constructors:
HtmlHelpData()
This class is used by HtmlHelpController and HtmlHelpFrame to access HTML help items.
__init__
(self)¶Constructor.
AddBook
(self, book_url)¶Adds new book.
book_url is URL (not filename!) of HTML help project (hhp) or ZIP
file that contains arbitrary number of .hhp projects (this zip file can have either .zip or .htb extension, htb stands for “html book”).
Returns success.
book_url (string) –
bool
FindPageById
(self, id)¶Returns page’s URL based on integer ID
stored in project.
id (int) –
string
FindPageByName
(self, page)¶Returns page’s URL based on its (file)name.
page (string) –
string
GetBookRecArray
(self)¶Returns array with help books info.
HtmlBookRecArray
GetContentsArray
(self)¶Returns reference to array with contents entries.
HtmlHelpDataItems
GetIndexArray
(self)¶Returns reference to array with index entries.
HtmlHelpDataItems
SetTempDir
(self, path)¶Sets the temporary directory where binary cached versions of MS HTML Workshop files will be stored.
(This is turned off by default and you can enable this feature by setting non-empty temp dir.)
path (string) –
BookRecArray
¶See GetBookRecArray
ContentsArray
¶See GetContentsArray
IndexArray
¶See GetIndexArray