wxgridsizera 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. derived from include files <wx/sizer.h> see also
wxgridsizer::wxgridsizer
wxgridsizer::wxgridsizerwxgridsizer(int rows, int cols, int vgap, int hgap) wxgridsizer(int cols, int vgap = 0, int 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.
wxgridsizer::getcolsint getcols() returns the number of columns in the sizer.
wxgridsizer::gethgapint gethgap() returns the horizontal gap (in pixels) between cells in the sizer.
wxgridsizer::getrowsint getrows() returns the number of rows in the sizer.
wxgridsizer::getvgapint getvgap() returns the vertical gap (in pixels) between the cells in the sizer.
wxgridsizer::setcolsvoid setcols(int cols) sets the number of columns in the sizer.
wxgridsizer::sethgapvoid sethgap(int gap) sets the horizontal gap (in pixels) between cells in the sizer.
wxgridsizer::setrowsvoid setrows(int rows) sets the number of rows in the sizer.
wxgridsizer::setvgapvoid setvgap(int gap) sets the vertical gap (in pixels) between the cells in the sizer.
|