.\" This is a wxWidgets manpage page generated from the XML docs .TH wxGridSizer 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxGridSizer \- A sizer for laying out windows in a grid with all fields having the same size .SH DESCRIPTION A grid sizer is a sizer which lays out its children in a two-dimensional table with all table fields having the same size, i.e. the width of each field is the width of the widest child, the height of each field is the height of the tallest child. .SH "PARENTS" wxSizer wxObject .SH "INCLUDE FILES" wx/sizer.h .SH MEMBERS .SS wxGridSizer (int rowsint colsint vgapint hgap) .SS wxGridSizer (int colsint vgap = 0int hgap = 0) Constructor for a wxGridSizer. rows and cols determine the number of columns and rows in the sizer - if either of the parameters is zero, it will be calculated to form the total number of children in the sizer, thus making the sizer grow dynamically. vgap and hgap define extra space between all children. .SS int GetCols () Returns the number of columns in the sizer. .SS int GetHGap () Returns the horizontal gap (in pixels) between cells in the sizer. .SS int GetRows () Returns the number of rows in the sizer. .SS int GetVGap () Returns the vertical gap (in pixels) between the cells in the sizer. .SS void SetCols (int cols) Sets the number of columns in the sizer. .SS void SetHGap (int gap) Sets the horizontal gap (in pixels) between cells in the sizer. .SS void SetRows (int rows) Sets the number of rows in the sizer. .SS void SetVGap (int gap) Sets the vertical gap (in pixels) between the cells in the sizer. .SH "SEE ALSO" wxSizer wxObject .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.