From: Bruce S. <Bru...@nc...> - 2007-11-03 14:33:07
|
I now realize I've overstated the case, as what seems to semi-exist is only gtk+ (gtk2) for native Mac windowing. I don't find gtkmm to wrap this gtk2, alas, which matters, because since Visual is written in C++, Visual is based on gtkmm, not directly on gtk2. Here are links and discussions about gtk+ on the Mac: http://developer.imendio.com/projects/gtk-macosx/ http://www.macdevcenter.com/pub/a/mac/2007/06/22/graphical-tool-kits-for-apples-os-x-gtk2.html?page=1 http://developer.imendio.com/files/developer/Porting-Gtk-MacOSX.pdf Would it be all right and make sense to move this conversation to the VPython mailing list? For all I know we're missing some other interested parties by having this private conversation. If I hear no objection, I'll copy or summarize the notes so far in that mailing list. Bruce Steve Spicklemire wrote: > Hi Bruce, > > On Oct 31, 2007, at 9:16 PM, Bruce Sherwood wrote: > >> There are now new gtk2/gtkmm packages for the Mac, which talk to Aqua instead of to X11. Unfortunately, they are currently labeled BEWARE! HERE BE DRAGONS! But one could try. It would be excellent if most of Visual were platform-dependent, with only a few odd-ball files specific to Windows and Mac. (For example, even in Brandmeyer's original beta version, there were a few Windows-specific files for getting the time, etc.) > > Can you point me to these? I snooped around a bit a few weeks ago and didn't find anything. I do a lot of Cocoa/Aqua development with the PyObjc bridge (http://pyobjc.sourceforge.net/) which makes it trivial to open windows and talk to OpenGL. If we can get the gtk2 stuff working with Aqua.. I think the rest would be (fairly) easy! It's pretty easy to build native installer packages using Iceberg (http://s.sudre.free.fr/Software/Iceberg.html). > > thanks, > -steve |