|
From: Christopher B. <Chr...@no...> - 2007-05-25 15:48:44
|
Matthias Michler wrote: > I tried useing matplotlib as a GUI for my programs. I'd like to incorporate > things like Buttons, Sliders, RadioButtons and so on from > matplotlib.widgets, but missed a prompt (i.e. a field to input text and/or > numbers). I'm going to advise you to not try to do that. MPL really isn't a GUI toolkit, there there are a number of very nice and complete GUI toolkits that MPL works just great with. It will require a bit of learning up front, but you'll get a much better result, and probably less pain in the process. My thoughts: For Cross platform (Windows, *nix, OS-X): wxPython or pyQT. Tk's OK too, but at least until recently, not very native or robust on OS-X. For *nix only: PyGTK For OS-X only: Maybe pyObjC, but only if MPL is working OK with the Cocoa back-end -- or has development stalled there? See the "embedding in ..." examples, and be sure to check out wxMPL if you want to use wxPython. -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 Chr...@no... |