Re: Accessing wx.TextCtrl after refactoring

2009-03-28 Thread alex
Rhodri thank you very much for your answer. I had read about setattr but the useage was not completely clear to me. Now I will study it again. I inserted it in def createInput1 def createInput1(self, label, pth_btn_label, txtctrl_path): self.stattxt = wx.StaticText(self, -1, label)

Re: Accessing wx.TextCtrl after refactoring

2009-03-28 Thread Rhodri James
On Sat, 28 Mar 2009 13:55:39 -, alex ale...@bluewin.ch wrote: Rhodri thank you very much for your answer. I had read about setattr but the useage was not completely clear to me. Now I will study it again. I inserted it in def createInput1 def createInput1(self, label, pth_btn_label,

Accessing wx.TextCtrl after refactoring

2009-03-27 Thread alex
Hi all I am working on a Dialog window for a gui in wxPython and started refactoring it, below code is a simplified version of it. def createInput1 should create a static text, a button and a textcontrol using the information in def box1Labels. def makeStaticBox1 then arranges all widgets in

Re: Accessing wx.TextCtrl after refactoring

2009-03-27 Thread Rhodri James
On Fri, 27 Mar 2009 21:51:19 -, alex ale...@bluewin.ch wrote: Hi all I am working on a Dialog window for a gui in wxPython and started refactoring it, below code is a simplified version of it. def createInput1 should create a static text, a button and a textcontrol using the information in

Re: Accessing wx.TextCtrl after refactoring

2009-03-27 Thread Rhodri James
On Sat, 28 Mar 2009 00:51:04 -, Rhodri James rho...@wildebst.demon.co.uk wrote: On Fri, 27 Mar 2009 21:51:19 -, alex ale...@bluewin.ch wrote: Hi all I am working on a Dialog window for a gui in wxPython and started refactoring it, below code is a simplified version of it. def