-g.me.uk/
>
> From: "Prasad, Ramit"
>To: Alan Gauld ; "tutor@python.org"
>
>Sent: Thursday, 8 December 2011, 19:07
>Subject: RE: [Tutor] how to link GUI app to the code
>
>>self.Bind(wx.EVT_BUTTON, self.OnSubmit, self
>self.Bind(wx.EVT_BUTTON, self.OnSubmit, self.button_submit)
How do you decide when it is appropriate to bind to a panel/frame and when to
bind to the widget itself? I understand that certain events do not propagate up
the widget stack, but what about for events that do? Is there a guideline of
On 06/12/11 04:30, surya k wrote:
I have designed a application using WxGlade but I don't know how to link
it to my code and run it.
Glade generates wxPython code.
In wxPython we bind methods to widgets using the Bind() method.
Here is an example:
self.Bind(wx.EVT_BUTTON, self.OnSubmit, self