wx.FlexGridSizer Class Reference

Inheritance diagram for wx.FlexGridSizer:

wx.GridSizer wx.Sizer wx.Object wx.GridBagSizer

List of all members.

Public Member Functions

void AddGrowableCol (int idx)
void AddGrowableRow (int idx)
override Size CalcMin ()
 FlexGridSizer (int rows, int cols, int vgap, int hgap)
 FlexGridSizer (int cols, int vgap, int hgap)
 FlexGridSizer (IntPtr wxObject)
override void RecalcSizes ()
void RemoveGrowableCol (int idx)
void RemoveGrowableRow (int idx)

Protected Member Functions

override void CallDTor ()


Detailed Description

A flex grid sizer is a sizer which lays out its children in a two-dimensional table with all table fields in one row having the same height and all fields in one column having the same width, but all rows or all columns are not necessarily the same height or width as in the wx.GridSizer.

Since wxWidgets 2.5.0, wxFlexGridSizer can also size items equally in one direction but unequally ("flexibly") in the other. If the sizer is only flexible in one direction (this can be changed using SetFlexibleDirection()), it needs to be decided how the sizer should grow in the other ("non-flexible") direction in order to fill the available space. The SetNonFlexibleGrowMode method serves this purpose.


Constructor & Destructor Documentation

wx.FlexGridSizer.FlexGridSizer ( IntPtr  wxObject  ) 

wx.FlexGridSizer.FlexGridSizer ( int  cols,
int  vgap,
int  hgap 
)

wx.FlexGridSizer.FlexGridSizer ( int  rows,
int  cols,
int  vgap,
int  hgap 
)


Member Function Documentation

void wx.FlexGridSizer.AddGrowableCol ( int  idx  ) 

void wx.FlexGridSizer.AddGrowableRow ( int  idx  ) 

override Size wx.FlexGridSizer.CalcMin (  )  [virtual]

Reimplemented from wx.GridSizer.

override void wx.FlexGridSizer.CallDTor (  )  [protected, virtual]

This will be called by Dispose() to delete the C++ object. Overload this if you have to use another DTor.

Reimplemented from wx.Object.

override void wx.FlexGridSizer.RecalcSizes (  )  [virtual]

Reimplemented from wx.GridSizer.

void wx.FlexGridSizer.RemoveGrowableCol ( int  idx  ) 

void wx.FlexGridSizer.RemoveGrowableRow ( int  idx  ) 


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads