1
Hey, j'ai un objet frame wxpython avec une barre d'état. Je peux faire self.SetStatusText() sans aucun problème, mais quand je fais self.GetStatusText() j'obtenir cette erreur:wxpython GetStatusText()
Traceback (most recent call last):
File
"D:\python\code\test.pyw",
line 87, in <module>
frame = mainframe() File "D:\python\code\test.pyw",
line 40, in __init__
self.serverfield.SetValue(self.serverinfo())
File
"D:\python\code\test.pyw",
line 78, in serverinfo
status = self.GetStatusText(0) AttributeError: 'mainframe' object has
no attribute 'GetStatusText'