A pure-Python Sizer that lays out items in a grid similar to wx.FlexGridSizer but item position is not implicit but explicitly specified by row and col, and row/col spanning is supported.
Adapted from code by Niki Spahiev.
NOTE: There is now a C++ version of this class that has been wrapped as wx.GridBagSizer. It is quicker and more capable so you are encouraged to switch.
Sizer() |