wxPython:重载1:参数1具有意外的类型“ScrolledPanel”

2024-09-30 10:30:05 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图找出如何更改滚动面板框中的文本,但由于某种原因,它给了我这个错误。在

File "/Users/adapterad/Desktop/daba-0/gdisamb.pyw", line 1089, in ShowSent
self.Sizer.Remove(self.annotlist)
TypeError: Sizer.Remove(): arguments did not match any overloaded call:
  overload 1: argument 1 has unexpected type 'ScrolledPanel'

代码如下:

^{pr2}$

Tags: in文本self面板错误lineusersremove

热门问题