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

Guilhem Bonnefille guilhem.bonnefille at gmail.com
Thu Apr 29 04:07:27 EDT 2010


Please, note that libGlade is deprecated. GtkBuilder must be used (if possible).
http://developer.gimp.org/api/2.0/gtk/gtk-migrating-GtkBuilder.html

2010/4/28 Joshua Judson Rosen <rozzin at geekspace.com>:
> 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))))."
> _______________________________________________
> This message is sent to you from FOSS-GPS at lists.osgeo.org mailing list.
> Visit http://lists.osgeo.org/mailman/listinfo/foss-gps to manage your subscription
> For more information, check http://wiki.osgeo.org/wiki/FOSS-GPS
>



-- 
Guilhem BONNEFILLE
-=- JID: guyou at im.apinc.org MSN: guilhem_bonnefille at hotmail.com
-=- mailto:guilhem.bonnefille at gmail.com
-=- http://nathguil.free.fr/


More information about the FOSS-GPS mailing list