[GRASS5] GUI for GRASS

Jan-Oliver Wagner jan at intevation.de
Tue Oct 15 02:48:09 EDT 2002


On Mon, Oct 14, 2002 at 08:25:06PM +0100, Glynn Clements wrote:
> Bernhard Reiter wrote:
> > I'd rather go with a better cross platform application framework.
> > Thus the hottest candidate if I'd ever would approach this is wxPython.
> 
> Unfortunately, wxWindows is also C++.

right. Thats why Bernhard proposed wxPython, the Python wrapper for
wxWindows. A language like Python works quite well for gluing
functionality together for a GUI.
I wrote a small wxPython sample for automatically building GUI dialogs
from the --interface-specification of GRASS commands some time ago.

> If the Windows version of GTK+ is adequate, I'd suggest using GTK+.

I also tested this and it works. However, you'll have a GTK-looking
application under Windows which looks a bit alien.

The big advantage of wxWindows is the concept of using native frameworks
for GUI building. E.g. MSFC is used if the programm is executed on a
Windows platform, GTK (or even QT) is used if you are on a GNU/Linux
system. There is also a solution for MacOS.

	Jan

-- 
Jan-Oliver Wagner               http://intevation.de/~jan/

Intevation GmbH	              	     http://intevation.de/
FreeGIS	                               http://freegis.org/




More information about the grass-dev mailing list