1
私はボタンを押すことを試みています。パネル上のテキストを変更しますが、別の機能から変更します。wxPythonボタンがパネル上のテキストを変更します
例:
status=wx.StaticText(panel,label="Yes",pos=(95,5),size=(50,20))
change=wx.Button(panel,label="Change",pos=(115,45),size=(50,20))
self.Bind(wx.EVT_BUTTON, self.changed, change)
def changed(self,event):
have it change the label to "no".
おかげ
感謝。 – user1152873