Re: [Tutor] Sharing Variables Across Modules

2006-02-06 Thread Rich Shepard
On Mon, 6 Feb 2006, Rich Shepard wrote: > So, now the entered name displays in the TextCtrl widget, but it's not > being assigned to the variable, modName, in the modModel class. But, I think > that I have a better understanding now of what's going on and, with some > trial and error exploration

Re: [Tutor] Sharing Variables Across Modules

2006-02-06 Thread Rich Shepard
On Mon, 6 Feb 2006, Andre Roberge wrote: I would *guess* that you'd want instead something like tcName = self.myNotebook.modModel.tcName André, You got me looking in the right direction. What works is: tcName = self.mainNB.pane_1.tcName So, now the entered name displays in the TextCtr

Re: [Tutor] Sharing Variables Across Modules

2006-02-06 Thread Kent Johnson
Rich Shepard wrote: >I'm developing a wxPython-based application. The UI is a notebook, with the > contents of each page in a separate module. In one module (modelPage.py), I > have defined the class modModel, which is an instance of a wx.Panel class. > Within modModel is a text control widget

Re: [Tutor] Sharing Variables Across Modules

2006-02-06 Thread Andre Roberge
On 2/6/06, Rich Shepard <[EMAIL PROTECTED]> wrote: >I'm developing a wxPython-based application. The UI is a notebook, with the > contents of each page in a separate module. In one module (modelPage.py), I > have defined the class modModel, which is an instance of a wx.Panel class. > Within mod