Hey there,
I'm getting started with wxPython, and am using the Boa Constructor IDE.
I have got a console program full of Python defs that I can slot in. However I'm a bit stuck as to how to get user information from my input wxTextCtrl box, to my
Code:
def OnCalculateAreaButton(self, event):
event.Skip()
(that only has the skip() method in it currently, it will change)
Then write the output off to an output wx.TextCtrl box.
I used a frontend to wxPython called "Python Card" and that offered a very simple way of setting input/output in text boxes. Some sample code here:
Code:
def on_incrBtn_mouseClick(self, event):
startValue = int(self.components.field1.text)
endValue = startValue + 1
self.components.field1.text = str(endValue)
def on_decrBtn_mouseClick(self, event):
startValue = int(self.components.field1.text)
endValue = startValue - 1
self.components.field1.text = str(endValue)
def on_resetBtn_mouseClick(self, event):
self.components.field1.text = "0"
I really just want something in wxPython to work like self.components.field1.text = str(endValue)
to show "endValue" in a text box.
I'm using wxPython mainly because Python Card doesn't play well when being frozen to a binary. wxPython doesn't object at all, so I'd really like to get it working

.
If you need any more information, or a screenshot or source code to explain more then just ask -- Cheers!

to GUI programming I'm afraid.
