2 % automatically generated by HelpGen from
3 % helpfrm.h at 24/Oct/99 18:03:10
7 \section{\class{wxHtmlHelpFrame
}}\label{wxhtmlhelpframe
}
9 This class is used by
\helpref{wxHtmlHelpController
}{wxhtmlhelpcontroller
}
11 It is internal class and should not be used directly - except for the case
12 you're writing your own HTML help controller.
15 \wxheading{Derived from
}
17 \helpref{wxFrame
}{wxframe
}
19 \latexignore{\rtfignore{\wxheading{Members
}}}
23 \membersection{wxHtmlHelpFrame::wxHtmlHelpFrame
}\label{wxhtmlhelpframewxhtmlhelpframe
}
25 \func{}{wxHtmlHelpFrame
}{\param{wxHtmlHelpData*
}{data = NULL
}}
27 \func{}{wxHtmlHelpFrame
}{\param{wxWindow*
}{parent
},
\param{int
}{wxWindowID
},
\param{const wxString\&
}{title = wxEmptyString
},
\param{int
}{style = wxHF
\_DEFAULTSTYLE},
\param{wxHtmlHelpData*
}{data = NULL
}}
31 {\it style
} is combination of these flags:
34 \twocolitem{\windowstyle{wxHF
\_TOOLBAR}}{Help frame has toolbar.
}
35 \twocolitem{\windowstyle{wxHF
\_CONTENTS}}{Help frame has contents panel.
}
36 \twocolitem{\windowstyle{wxHF
\_INDEX}}{Help frame has index panel.
}
37 \twocolitem{\windowstyle{wxHF
\_SEARCH}}{Help frame has search panel.
}
41 \membersection{wxHtmlHelpFrame::Create
}\label{wxhtmlhelpframecreate
}
43 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id
},
\param{const wxString\&
}{title = wxEmptyString
},
\param{int
}{style = wxHF
\_DEFAULTSTYLE}}
47 {\it style
} is combination of these flags:
50 \twocolitem{\windowstyle{wxHF
\_TOOLBAR}}{Help frame has toolbar.
}
51 \twocolitem{\windowstyle{wxHF
\_CONTENTS}}{Help frame has contents panel.
}
52 \twocolitem{\windowstyle{wxHF
\_INDEX}}{Help frame has index panel.
}
53 \twocolitem{\windowstyle{wxHF
\_SEARCH}}{Help frame has search panel.
}
58 \membersection{wxHtmlHelpFrame::CreateContents
}\label{wxhtmlhelpframecreatecontents
}
60 \func{void
}{CreateContents
}{\param{bool
}{show
\_progress = FALSE
}}
62 Creates contents panel. (May take some time.)
65 \membersection{wxHtmlHelpFrame::CreateIndex
}\label{wxhtmlhelpframecreateindex
}
67 \func{void
}{CreateIndex
}{\param{bool
}{show
\_progress = FALSE
}}
69 Creates index panel. (May take some time.)
72 \membersection{wxHtmlHelpFrame::CreateSearch
}\label{wxhtmlhelpframecreatesearch
}
74 \func{void
}{CreateSearch
}{\void}
79 \membersection{wxHtmlHelpFrame::Display
}\label{wxhtmlhelpframedisplay
}
81 \func{bool
}{Display
}{\param{const wxString\&
}{x
}}
83 \func{bool
}{Display
}{\param{const int
}{id
}}
85 Displays page x. If not found it will offect the user a choice of
87 Looking for the page runs in these steps:
88 1. try to locate file named x (if x is for example "doc/howto.htm")
89 2. try to open starting page of book x
90 3. try to find x in contents (if x is for example "How To ...")
91 4. try to find x in index (if x is for example "How To ...")
93 The second form takes numeric ID as the parameter.
94 (uses extension to MS format, <param name="ID" value=id>)
96 \pythonnote{The second form of this method is named DisplayId in
99 \membersection{wxHtmlHelpFrame::DisplayContents
}\label{wxhtmlhelpframedisplaycontents
}
101 \func{bool
}{DisplayContents
}{\void}
103 Displays contents panel.
105 \membersection{wxHtmlHelpFrame::DisplayIndex
}\label{wxhtmlhelpframedisplayindex
}
107 \func{bool
}{DisplayIndex
}{\void}
109 Displays index panel.
112 \membersection{wxHtmlHelpFrame::GetData
}\label{wxhtmlhelpframegetdata
}
114 \func{wxHtmlHelpData*
}{GetData
}{\void}
116 Return wxHtmlHelpData object.
118 \membersection{wxHtmlHelpFrame::KeywordSearch
}\label{wxhtmlhelpframekeywordsearch
}
120 \func{bool
}{KeywordSearch
}{\param{const wxString\&
}{keyword
}}
122 Search for given keyword.
125 \membersection{wxHtmlHelpFrame::ReadCustomization
}\label{wxhtmlhelpframereadcustomization
}
127 \func{void
}{ReadCustomization
}{\param{wxConfigBase*
}{cfg
},
\param{const wxString\&
}{path = wxEmptyString
}}
129 Reads user's settings for this frame (see
\helpref{wxHtmlHelpController::ReadCustomization
}{wxhtmlhelpcontrollerreadcustomization
})
131 \membersection{wxHtmlHelpFrame::RefreshLists
}\label{wxhtmlhelpframerefreshlists
}
133 \func{void
}{RefreshLists
}{\param{bool
}{show
\_progress = FALSE
}}
135 Refresh all panels. This is neccessary if new book was added.
137 \membersection{wxHtmlHelpFrame::SetTitleFormat
}\label{wxhtmlhelpframesettitleformat
}
139 \func{void
}{SetTitleFormat
}{\param{const wxString\&
}{format
}}
141 Sets frame's title format.
{\it format
} must contain exactly one "\%s"
142 (it will be replaced by page's title).
144 \membersection{wxHtmlHelpFrame::UseConfig
}\label{wxhtmlhelpframeuseconfig
}
146 \func{void
}{UseConfig
}{\param{wxConfigBase*
}{config
},
\param{const wxString\&
}{rootpath = wxEmptyString
}}
148 Add books to search choice panel
151 \membersection{wxHtmlHelpFrame::WriteCustomization
}\label{wxhtmlhelpframewritecustomization
}
153 \func{void
}{WriteCustomization
}{\param{wxConfigBase*
}{cfg
},
\param{const wxString\&
}{path = wxEmptyString
}}
155 Saves user's settings for this frame (see
\helpref{wxHtmlHelpController::WriteCustomization
}{wxhtmlhelpcontrollerwritecustomization
})