[Pythonmac-SIG] Simple PyObjC question: real or vapor?
Christopher Barker
Chris.Barker at noaa.gov
Wed Apr 6 23:48:52 CEST 2011
On 4/6/11 1:33 PM, Ronald Oussoren wrote:
> I don't agree with your opinion on wxPython, last time I checked it sucked for cross platform development because code doesn't always work the same way on different platforms (one example I remember from the last time I fought with wxWidgets is the background color of text entry fields, changing that on Windows is easy enough but the same code doesn't work on OSX).
Well, all that is true, but what that tells me is that cross-platform
development sucks. wxWidgets does it pretty well, considering.
You could go with QT, and then things will probably work pretty much the
same on all platforms, but they won't look or act native (particularly
on the Mac)
> I must admit that I haven't worked with the OSX version of wx for a couple of years though, because of x-platform issues I switched to running a Windows VM whenever I need to write GUI code that might need to run on Windows.
Well, you certainly want to test early and often on all the platforms
you want to support. In general, if you do things the recommended way,
it will work on all platforms, but it is pretty easy to do something in
a way that only works in one place -- in that case, you want to catch
those things early by testing early.
That's all a bit of a pain, but a LOT easier than writing 3 GUIs.
If you only want to develop Mac apps, Cocoa (via PyObjC) is the way to go.
> But at least wxWidgets isn't Tk, the OSX port of Tk seems to get worse over time :-(. We've moved from IDLE not looking quite right to IDLE just crashing with TkCocoa (for example when using a number of keyboard shortcuts).
yeach.
In fact, the latest wx uses Cocoa (oit had been Carbon). I haven't used
it yet, but once the bugs get ironed out, it should take us well into
the future on the Mac.
-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 Pythonmac-SIG
mailing list