Python Forum
[WxPython] TypeError: request for something already fulfilled? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: [WxPython] TypeError: request for something already fulfilled? (/thread-1318.html)

Pages: 1 2


RE: TypeError: request for something already fulfilled? - Yoriz - Feb-23-2017

The error
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
A wx.Panel inherits from wx.Window and can also be used.

Sizers are used for laying out subwindows in a window.
You add (controls/widgets/windows all the same things) and other sizers to sizers.


RE: TypeError: request for something already fulfilled? - merlem - Feb-24-2017

Thanks a lot, that makes it much more clear to me!