GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • wx.html.HtmlHelpData
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx.html

This view

  • Original page
  • New address

GeezerVison is showing docs.wxpython.org — wx.html.HtmlHelpData — wxPython 4.3.2 Docs

phoenix_title wx.html.HtmlHelpData¶

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.


class_hierarchy Class Hierarchy¶

Inheritance diagram for class HtmlHelpData:

Inheritance diagram of HtmlHelpData


method_summary Methods Summary¶

__init__

Constructor.

AddBook

Adds new book.

FindPageById

Returns page’s URL based on integer ID stored in project.

FindPageByName

Returns page’s URL based on its (file)name.

GetBookRecArray

Returns array with help books info.

GetContentsArray

Returns reference to array with contents entries.

GetIndexArray

Returns reference to array with index entries.

SetTempDir

Sets the temporary directory where binary cached versions of MS HTML Workshop files will be stored.


property_summary Properties Summary¶

BookRecArray

See GetBookRecArray

ContentsArray

See GetContentsArray

IndexArray

See GetIndexArray


api Class API¶

class wx.html.HtmlHelpData(Object)¶

Possible constructors:

HtmlHelpData() -> None

This class is used by HtmlHelpController and HtmlHelpFrame to access HTML help items.


Methods¶

__init__(self)¶

Constructor.

Return type:

None



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.

Parameters:

book_url (string)

Return type:

bool



FindPageById(self, id)¶

Returns page’s URL based on integer ID stored in project.

Parameters:

id (int)

Return type:

str



FindPageByName(self, page)¶

Returns page’s URL based on its (file)name.

Parameters:

page (string)

Return type:

str



GetBookRecArray(self)¶

Returns array with help books info.

Return type:

HtmlBookRecArray



GetContentsArray(self)¶

Returns reference to array with contents entries.

Return type:

HtmlHelpDataItems



GetIndexArray(self)¶

Returns reference to array with index entries.

Return type:

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.)

Parameters:

path (string)

Return type:

None


Properties¶

BookRecArray¶

See GetBookRecArray



ContentsArray¶

See GetContentsArray



IndexArray¶

See GetIndexArray

© Copyright 2012-2026, The wxPython Team. Created using Sphinx 9.1.0 and the python-docs-theme.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.