[Tutor] how to link GUI app to the code

Prasad, Ramit ramit.prasad at jpmorgan.com
Thu Dec 8 20:07:36 CET 2011


>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 which is appropriate when?

Ramit

P.S. Yes, I should probably ask the wxPython mailing list...but I don't care enough (yet) to subscribe to a new list. :)


Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
work phone: 713 - 216 - 5423

--

This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  


More information about the Tutor mailing list