<tr>
<td align="left">
<a href="http://www.wxwidgets.org" style="margin-left: 0px">
- <img src="powered-by-wxwidgets.png" alt="wxWidgets logo"/>
+ <img src="powered-by-wxwidgets.png" alt="wxWidgets logo" border="0"/>
</a>
</td>
<td valign="middle" align="center"><p class="footer">Page generated <tt>$datetime</tt> by <a href="http://www.doxygen.org">Doxygen</a> $doxygenversion</p></td>
(<em>multilib build</em>). Multilib build is the default.
wxWidgets library is divided into libraries briefly described below. This
-diagram show dependencies between them:
+diagram shows the dependencies between them:
@dot
digraph Dependancies
@author Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al
@date February, 2008
- @image html wx.png
+ @image html main_wxlogo.png
@section manual_contents Contents
@li @subpage page_copyright
The wxHTML library provides classes for parsing and displaying HTML.
It is not intended to be a high-end HTML browser. If you are looking for
- something like that try http://www.mozilla.org.
+ something like that try <http://www.mozilla.org/>.
wxHTML can be used as a generic rich text viewer - for example to display
a nice About Box (like those of GNOME apps) or to display the result of
Container is kind of cell that may contain sub-cells. Its size depends
on number and sizes of its sub-cells (and also depends on width of window).
- See wxHtmlContainerCell, wxHtmlCell::Layout.
- This image shows the cells and containers: @image html contbox.bmp
+ See wxHtmlContainerCell, wxHtmlCell::Layout. This image shows the cells and
+ containers:
+
+ @image html overview_html_contbox.png
@subsection overview_html_cells_conttaghandler Using Containers in Tag Handler
Use wxHtmlWinParser::CloseContainer to close the container.
This doesn't create a new container with same depth level but it returns "control"
- to the parent container.
- See explanation: @image html cont.bmp
+ to the parent container. See explanation:
+
+ @image html overview_html_cont.png
There clearly must be same number of calls to OpenContainer as to
CloseContainer.
m_WParser -> OpenContainer();
@endcode
- and here is image of the situation: @image html hello.bmp
+ and here is image of the situation:
+
+ @image html overview_html_hello.png
You can see that there was an opened container before the code was executed.
We closed it, created our own container, then closed our container and opened
wxRichTextCtrl, with fewer features in the former case.
A good way to understand wxRichTextCtrl's capabilities is to compile and run
-the sample, @c samples/richtext, and browse the code. The following screenshot
-shows the sample in action:
-
-@image html richtextctrl.bmp
+the sample, @c samples/richtext, and browse the code.
@section overview_richtextctrl_example Code Example
controls can calculate their height, but not their width (e.g. a single line
text control):
-@image html sizer03.bmp
+@image html overview_sizer_03.png
-@image html sizer04.bmp
+@image html overview_sizer_04.png
-@image html sizer05.bmp
+@image html overview_sizer_05.png
<b>A border</b>: The border is just empty space and is used to separate dialog
items in a dialog. This border can either be all around, or at any combination
with only one dialog item (a button) and a border of 0, 5, and 10 pixels around
the button:
-@image html sizer00.bmp
+@image html overview_sizer_00.png
-@image html sizer01.bmp
+@image html overview_sizer_01.png
-@image html sizer02.bmp
+@image html overview_sizer_02.png
<b>An alignment</b>: Often, a dialog item is given more space than its minimal
size plus its border. Depending on what flags are used for the respective
box sizer; one button is centred, one is aligned at the top, one is aligned at
the bottom:
-@image html sizer06.bmp
+@image html overview_sizer_06.png
<b>A stretch factor</b>: If a sizer contains more than one child and it is
offered more space than its children and their borders need, the question
first one has a stretch factor of 1 and thus gets stretched, whereas the other
two buttons have a stretch factor of zero and keep their initial width:
-@image html sizer07.bmp
+@image html overview_sizer_07.png
Within wxDesigner, this stretch factor gets set from the @e Option menu.
stretched horizontally. The following sample shows the same dialog as in the
last sample, only the box sizer is a vertical box sizer now:
-@image html sizer08.bmp
+@image html overview_sizer_08.png
@subsection overview_sizer_hiding_static wxStaticBoxSizer
wxStaticBoxSixer is the same as a wxBoxSizer, but surrounded by a static box.
Here is a sample:
-@image html sizer09.bmp
+@image html overview_sizer_09.png
@subsection overview_sizer_hiding_grid wxGridSizer
or rows is fixed and the grid sizer will grow in the respectively other
orientation if new children are added:
-@image html sizer10.bmp
+@image html overview_sizer_10.png
For programming information, see wxGridSizer.
different from the one it requested. The following sample shows the same dialog
as the one above, but using a flex grid sizer:
-@image html sizer11.bmp
+@image html overview_sizer_11.png
@section overview_sizer_box Programming with wxBoxSizer
The style wxSP_3D has been used to show a 3D border and 3D sash.
-@image html splitter.bmp
+@image html overview_splitter_3d.png
@section overview_splitterwindow_example Example