.\" This is a wxWidgets manpage page generated from the XML docs .TH wxHtmlContainerCell 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxHtmlContainerCell \- .SH DESCRIPTION The wxHtmlContainerCell class is an implementation of a cell that may contain more cells in it. It is heavily used in the wxHTML layout algorithm. .SH "PARENTS" wxHtmlCell .SH "INCLUDE FILES" wx/html/htmlcell.h .SH MEMBERS .SS wxHtmlContainerCell (wxHtmlContainerCell *parent) Constructor. parent is pointer to parent container or NULL. .SS int GetAlignHor () Returns container's horizontal alignment. .SS int GetAlignVer () Returns container's vertical alignment. .SS wxColour GetBackgroundColour () Returns the background colour of the container or wxNullColour if no background colour is set. .SS int GetIndent (int ind) Returns the indentation. ind is one of the wxHTML_INDENT_* constants. Note: You must call GetIndentUnits with same ind parameter in order to correctly interpret the returned integer value. It is NOT always in pixels! .SS int GetIndentUnits (int ind) Returns the units of indentation for ind where ind is one of the wxHTML_INDENT_* constants. .SS void InsertCell (wxHtmlCell *cell) Inserts new cell into the container. .SS void SetAlign (const wxHtmlTag& tag) Sets the container's alignment (both horizontal and vertical) according to the values stored in tag . (Tags ALIGN parameter is extracted.) In fact it is only a front-end to SetAlignHor and SetAlignVer . .SS void SetAlignHor (int al) Sets the container's horizontal alignment . During Layout each line is aligned according to al value. .SS void SetAlignVer (int al) Sets the container's vertical alignment . This is per-line alignment! .SS void SetBackgroundColour (const wxColour& clr) Sets the background colour for this container. .SS void SetBorder (const wxColour& clr1const wxColour& clr2) Sets the border (frame) colours. A border is a rectangle around the container. .SS void SetIndent (int iint whatint units = wxHTML_UNITS_PIXELS) Sets the indentation (free space between borders of container and subcells). .SS void SetMinHeight (int hint align = wxHTML_ALIGN_TOP) Sets minimal height of the container. When container's Layout is called, m_Height is set depending on layout of subcells to the height of area covered by layed-out subcells. Calling this method guarantees you that the height of container is never smaller than h - even if the subcells cover much smaller area. .SS void SetWidthFloat (int wint units) .SS void SetWidthFloat (const wxHtmlTag& tagdouble pixel_scale = 1.0) Sets floating width adjustment. The normal behaviour of container is that its width is the same as the width of parent container (and thus you can have only one sub-container per line). You can change this by setting FWA. pixel_scale is number of real pixels that equals to 1 HTML pixel. .SH "SEE ALSO" wxHtmlCell Cells Overview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.