[FOSS-GPS] GladeXML GUI for FoxtrotGPS (was: FoxtrotGPS Mapping Library)

Joshua Judson Rosen rozzin at geekspace.com
Wed Apr 28 16:14:59 EDT 2010


Joshua Judson Rosen <rozzin at geekspace.com> writes:
>
> I'm planning on spending most of my free time this week doing
> `reverse engineering' work on our GUI module to turn the autogenerated
> C code back into an actual GladeXML file...

On that note: I pushed up some initial `gladifications' of the GUI, today.
This required some updates to the autoconf/automake infrastructure,
so you'll need to run ./autogen.sh even if you've done it before.

The main window (which looks like it makes up the bulk of the GUI work)
is done, including the popup menu. I still need to go through and
give many of the widgets more meaningful names (along with converting
the rest of the GUI), but at least it's more straightforward to edit
or add things now than it was.

So, the main GUI elements are now loaded from the GladeXML file that's
in the source tree as data/foxtrotgps.glade, and that gets installed
by way of `make install'; and we're moving toward conversion of the
rest of the GUI.

NOTE: an implication of this restructuring is that, while the program
used to `mostly work' when run from the build directory, it will
really fail quite badly now if you try to do that without taking some
(minorly) special steps to ensure that it can find the GladeXML file.
If you do a `make install' before running, though, it should work
perfectly well. There are various things that can be done to make it
easier to run with a GladeXML file in a different location
(adding a command-line option, using environment-variables...),
but nothing's been done on that yet.

Also, I've reconstructed the toolbars in the main window in a more
standard (and more straightforward) way than was used in tangoGPS,
so you may notice that they look a little different--more like
the toolbars in other GTK+ & GNOME applications.

-- 
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."


More information about the FOSS-GPS mailing list