[GRASS5] GUI for GRASS

hello all:

what about gnustep <http://www.gnustep.org/&gt;? display postscript and an interface builder so easy, even i'm able to use it.

andy

Date: Tue, 15 Oct 2002 08:48:09 +0200
From: Jan-Oliver Wagner <jan@intevation.de>
To: grass5 developers list <grass5@grass.itc.it>
Subject: Re: [GRASS5] GUI for GRASS

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

andy agena wrote:

what about gnustep <http://www.gnustep.org/&gt;? display postscript and
an interface builder so easy, even i'm able to use it.

The main problem is that, AFAIK, GNUstep uses objective-C. This would
require anyone who builds from source to have an objective-C compiler,
and require developers to be able to program in objective-C.

A similar problem exists for wxPython, i.e. users would need to have
Python installed, and developers would need to be able to program in
Python.

--
Glynn Clements <glynn.clements@virgin.net>

Glynn Clements writes:
>
> andy agena wrote:
>
> > what about gnustep <http://www.gnustep.org/&gt;? display postscript and
> > an interface builder so easy, even i'm able to use it.
>
> The main problem is that, AFAIK, GNUstep uses objective-C. This would
> require anyone who builds from source to have an objective-C compiler,
> and require developers to be able to program in objective-C.
>
> A similar problem exists for wxPython, i.e. users would need to have
> Python installed, and developers would need to be able to program in
> Python.

Hmmm.... Is there an interface builder for wxPython? Or more
generally, wxWindows?

I've been having a lot of fun using glade, libglade, and pygtk to
create user interfaces. The really cool thing is that you can
completely disconnect the user interface from the code that implements
it, so that anybody who can run glade can move widgets around.

So I highly recommend a user-interface designer.

--
-russ nelson http://russnelson.com |
Crynwr sells support for free software | PGPok | businesses persuade
521 Pleasant Valley Rd. | +1 315 268 1925 voice | governments coerce
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX |