[wxPython-users] Trouble with wx.GridBagSizer
Christopher Barker
Chris.Barker at noaa.gov
Thu Oct 18 17:17:46 PDT 2007
Rich Shepard wrote:
> Here's an example of a button from the module I'm now debugging:
>
> self.fsViewButton = wx.Button(self, wx.ID_ANY, label='View')
> self.Bind(wx.EVT_BUTTON, self.OnFzySetView, self.fsViewButton)
Or even better:
self.fsViewButton.Bind(wx.EVT_BUTTON, self.OnFzySetView)
See the wxPYthon style guide in the Wiki:
http://wiki.wxpython.org/wxPython_Style_Guide
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list