WXpython Question

Gandalf goldnery at gmail.com
Fri May 23 09:24:20 EDT 2008


I try to reach a specific wx StaticText element's text and to change
it by clicking on a button


now let's say the this is my element:

wx.StaticText(panel, 15, "Hello" ,(30, 70) , style=wx.ALIGN_CENTRE)


And this is my EVT_BUTTON bind function :

def OnClick(event):

which code shude i enter to change "hello" to "goodbay"?

thanks



More information about the Python-list mailing list