[PLUG] Local Python Help?
Rich Shepard
rshepard at appl-ecosys.com
Thu Sep 27 22:49:05 UTC 2007
On Thu, 27 Sep 2007, Alex LeDonne wrote:
> In the "source", how/where are curVar, UoDlow, and UoDhigh defined? Are
> they at the top level, or are they scoped in some way (instance vars of a
> class, method vars, ...)?
Alex,
They are the displayed contents of wxPython widgets in the class modVar().
I also tried importing the class as well as the module, but may not have had
that syntax correct either.
More specifically, they are defined in variablePage.py, class modVar()'s
__init__() method. For example:
self.vname = wx.ComboBox(self, wx.ID_ANY, size=wx.Size(175, 25),
style=wx.CB_DROPDOWN|wx.CB_SORT|
wx.TAB_TRAVERSAL|wx.RAISED_BORDER)
self.appData.curVar = self.vname.GetValue()
Thanks,
Rich
--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc. | Accelerators(TM)
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
More information about the PLUG
mailing list