[GRASS-dev] GUI toolkits

Glynn Clements glynn at gclements.plus.com
Mon May 29 09:29:41 EDT 2006


Hamish wrote:

> > > 2. GRASS is primarily written in C so if we want to use a compiled
> > > language, C would be the natural choice.
> > 
> > This is only relevant if the GUI actually links to GRASS libraries,
> > which isn't necessarily a good idea. The design of the GRASS libraries
> > doesn't really lend itself to persistent applications.
> 
> does this mean that Python + SWIG is a bad idea?

Not in itself.

It's using the GRASS libraries from within a GUI which is problematic. 
Writing a GUI using Python and other libraries isn't an issue. Writing
GRASS modules using Python and the GRASS libraries isn't an issue
either.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list