From: Chris B. <Chr...@no...> - 2005-02-15 00:52:33
|
>>also, how am i going to assign to a variable anything that a user >>inputs to a wxTxtCtrl? >> >>any help would greatly be appreciated. thanks and more power You've bitten off quite a bit here all in one part. Start by looking at the wxPython Demo and Wiki for various code samples, and try to build a little app that just takes a value for input and does something with it. In fact, look at the "embedded in wx" matplotlib samples, there may be one that takes a value and generates a plot based on it. As a hint, you'll need to use wxTextCtrl.GetValue() to get the input value, and convert it to a number with float(). As you start small, ask questions on the wxPython mailing list, we're very helpful there! -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |