Feb-23-2017, 06:25 PM
The error
item = one of the types shown in the error.
widget is a control, all controls/widgets inherit from wx.Window.
Controls are
Sizers are used for laying out subwindows in a window.
You add (controls/widgets/windows all the same things) and other sizers to sizers.
Error:TypeError: wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item
is showing what is expected.item = one of the types shown in the error.
widget is a control, all controls/widgets inherit from wx.Window.
Controls are
- Button
- Checkbox
- TextCtrl
- Ect
Sizers are used for laying out subwindows in a window.
You add (controls/widgets/windows all the same things) and other sizers to sizers.