]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/htwindow.tex
1. added a brief overview of Unicode support
[wxWidgets.git] / docs / latex / wx / htwindow.tex
index ae85e3ba6d6d210a4fd415d40e215b09e56ca8e9..3b426f8221e35778e114cb6f137d5dfde6c2c6e8 100644 (file)
@@ -3,7 +3,6 @@
 % htmlwindow.tex at 14/Mar/99 20:13:37
 %
 
-
 \section{\class{wxHtmlWindow}}\label{wxhtmlwindow}
 
 wxHtmlWindow is probably the only class you will directly use
@@ -18,7 +17,6 @@ Once the window is created you can set it's content by calling
 \helpref{SetPage(text)}{wxhtmlwindowsetpage} or 
 \helpref{LoadPage(filename)}{wxhtmlwindowloadpage}. 
 
-
 \wxheading{Derived from}
 
 wxScrolledWindow
@@ -33,16 +31,15 @@ wxScrolledWindow
 
 Default constructor.
 
-\func{}{wxHtmlWindow}{\param{wxWindow }{*parent}, \param{wxWindowID }{id = -1}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{const wxString\& }{name = "htmlWindow"}, \param{bool }{scrollable = TRUE}}
+\func{}{wxHtmlWindow}{\param{wxWindow }{*parent}, \param{wxWindowID }{id = -1}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{long }{style = wxHW_SCROLLBAR_AUTO}, \param{const wxString\& }{name = "htmlWindow"}}
 
 Constructor. The parameters are same as in wxScrollWindow ctor.
 (Too lazy to document it once again... :-)
 
 \wxheading{Parameters}
 
-\docparam{scrollable}{if false then no scrollbars are displayed, even if size of page is larger than window size}
-
-
+\docparam{style}{wxHW\_SCROLLBAR\_NEVER,  or wxHW\_SCROLLBAR\_AUTO. 
+Affects appearance of vertical scrollbar in the window.}
 
 \membersection{wxHtmlWindow::SetPage}\label{wxhtmlwindowsetpage}
 
@@ -62,7 +59,6 @@ If you want to load document from some location use
 
 \docparam{source}{The HTML document source to be displayed.}
 
-
 \wxheading{Return value}
 
 FALSE if an error occured, TRUE otherwise
@@ -86,8 +82,6 @@ htmlwin -> SetPage("help/myproject/index.htm");
 
 FALSE if an error occured, TRUE otherwise
 
-
-
 \membersection{wxHtmlWindow::GetOpenedPage}\label{wxhtmlwindowgetopenedpage}
 
 \func{wxString}{GetOpenedPage}{\void}
@@ -95,8 +89,6 @@ FALSE if an error occured, TRUE otherwise
 Returns full location of the opened page. If no page is opened or if the displayed page wasn't
 produced by call to LoadPage, empty string is returned.
 
-
-
 \membersection{wxHtmlWindow::SetRelatedFrame}\label{wxhtmlwindowsetrelatedframe}
 
 \func{void}{SetRelatedFrame}{\param{wxFrame* }{frame}, \param{const wxString\& }{format}}
@@ -105,16 +97,12 @@ Sets frame in which page title will be displayed. {\it format} is format of
 frame title, e.g. "HtmlHelp : \%s". It must contain exactly one \%s. This
 \%s is substituted with HTML page title.
 
-
-
-
 \membersection{wxHtmlWindow::GetRelatedFrame}\label{wxhtmlwindowgetrelatedframe}
 
 \constfunc{wxFrame*}{GetRelatedFrame}{\void}
 
 Returns the related frame.
 
-
 \membersection{wxHtmlWindow::SetRelatedStatusBar}\label{wxhtmlwindowsetrelatedstatusbar}
 
 \func{void}{SetRelatedStatusBar}{\param{int }{bar}}
@@ -171,7 +159,6 @@ Under Windows:
 Athough it seems different the fact is that the fonts are of approximately
 same size under both platforms (due to wxMSW / wxGTK inconsistency)
 
-
 \membersection{wxHtmlWindow::SetBorders}\label{wxhtmlwindowsetborders}
 
 \func{void}{SetBorders}{\param{int }{b}}
@@ -184,7 +171,6 @@ This function sets the space between border of window and HTML contents. See ima
 
 \docparam{b}{indentation from borders in pixels}
 
-
 \membersection{wxHtmlWindow::ReadCustomization}\label{wxhtmlwindowreadcustomization}
 
 \func{virtual void}{ReadCustomization}{\param{wxConfigBase }{*cfg}, \param{wxString }{path = wxEmptyString}}
@@ -201,14 +187,13 @@ Read values : all things set by SetFonts, SetBorders.
 
 \docparam{path}{Optional path in config tree. If not given current path is used.}
 
-
 \membersection{wxHtmlWindow::WriteCustomization}\label{wxhtmlwindowwritecustomization}
 
 \func{virtual void}{WriteCustomization}{\param{wxConfigBase }{*cfg}, \param{wxString }{path = wxEmptyString}}
 
 Saves custom settings into wxConfig. It uses the path 'path'
 if given, otherwise it saves info into currently selected path.
-Regardless path is given or not the function creates sub-path
+Regardless path is given or not the function creates sub-path 
 {\tt wxHtmlWindow}
 
 Saved values : all things set by SetFonts, SetBorders.
@@ -226,11 +211,9 @@ Saved values : all things set by SetFonts, SetBorders.
 
 Returns pointer to the top-level container.
 
-See also : 
-\helpref{Cells Overview}{cells},
+See also: \helpref{Cells Overview}{cells}, 
 \helpref{Printing Overview}{printing}
 
-
 \membersection{wxHtmlWindow::AddFilter}\label{wxhtmlwindowaddfilter}
 
 \func{static void}{AddFilter}{\param{wxHtmlFilter }{*filter}}
@@ -244,7 +227,6 @@ filters. These filters are present by default:
 \item Plain Text filter (this filter is used if no other filter matches)
 \end{itemize}
 
-
 \membersection{wxHtmlWindow::HistoryBack}\label{wxhtmlwindowhistoryback}
 
 \func{bool}{HistoryBack}{\void}
@@ -252,7 +234,6 @@ filters. These filters are present by default:
 Moves back to the previous page. (each page displayed using 
 \helpref{LoadPage}{wxhtmlwindowloadpage} is stored in history list.)
 
-
 \membersection{wxHtmlWindow::HistoryForward}\label{wxhtmlwindowhistoryforward}
 
 \func{bool}{HistoryForward}{\void}
@@ -265,12 +246,10 @@ Moves to next page in history.
 
 Clears history.
 
-
 \membersection{wxHtmlWindow::OnLinkClicked}\label{wxhtmlwindowonlinkclicked}
 
 \func{virtual void}{OnLinkClicked}{\param{const wxString\& }{link}}
 
-Called when user clicks on hypertext link. Default behaviour is to call
+Called when user clicks on hypertext link. Default behaviour is to call 
 \helpref{LoadPage}{wxhtmlwindowloadpage} and do nothing else.
 
-