Recipe 15-1. How to Get Children Widgets from a Sizer
Problem
Figure 15-1
Getting children widgets from a sizer
In this recipe
we will discover how to get the children widgets from a sizer object. In wxPython, you would expect to call the sizer’s GetChildren() method. However, this returns a list of SizerItem objects rather than a list of the actual widgets themselves. You can see the difference if you call a wx.Panel’s GetChildren() method which will actually give you a list of widgets.