Glade To C Translator / News: Recent posts

0.4 is out, now with main.c/Makefile/POTFILES generation!

A few improvements for your consumption:

1. g2c now uses the ctags that comes with just about every emacs distro out there. No more strange dependencies!

2. g2c will now generate a main program file, using .c for the file name. Entries will be added/commented out based on the top-level widget's visibility (in glade).

3. Automatically updates po/POTFILES.in and

4. Modifications to the automake/autoconfig stuff.... read more

Posted by John Margaglione 2001-09-26

0.3 is out, with full Gnome/GTK+ support

All Gnome and GTK+ widgets are now supported. Popup menus are not supported, as there is no modular way to do so.

Posted by John Margaglione 2001-05-01

0.2 is out, now with Gnome support

Support for GnomeApp and most Gnome controls, plus better generation.

Posted by John Margaglione 2001-01-23

Update 11/14/00

Gnome support has been added! GnomeApp and GnomeDialog are now supported. All menus are now handled using GNOMEUIINFO structs. Toolbars and menus are added using the appropriate gnome_app calls.

Before I put this code up for download I want to work out a few issues that would reduce unnecessary touching of files that do not need to be updated. This should save a LOT of recompiling for users. ... read more

Posted by John Margaglione 2000-11-14

Update 11/01/00

First release is available! While not ready for serious use, I have used it to make lots of test apps. Please try it out and tell me what you think!

Posted by John Margaglione 2000-11-02

Update 10/09/00

More status

To Do:

Output code to handle menu/toolbar creation.
Finished toolbar creation/subwidgets. Still need to handle menus.

Output code to handle properties not wrapped by GtkArgs.
Lost more handles, but still In progress.

Output main.c
Not started.

Output supporting makefiles (may just copy code from glade)
I have to go grab that New Riders book on Automake/Autoconf/Libtool. Should be in stores this week. This could be the first interesting book released since Havoc's book earlier this year.... read more

Posted by John Margaglione 2000-10-10

Update 9/30/00

More status

To Do:
Output code to handle callbacks.
Done.

Output code to handle menu/toolbar creation.
Not started.

Output code to handle properties not wrapped by GtkArgs.
In progress.

Output main.c
Not started.

Output supporting makefiles (may just copy code from glade)
I think I'm only going to output a Makefile.am, which will then be processed by the higher-level Makefile produced by glade. Need a coherent strategy for handling user-added code to output files.... read more

Posted by John Margaglione 2000-10-01

Update 9/14/00

I have been working hard on the architecture and prototype, and have made great progress. The prototype can happily parse an entire glade XML file, produce separate .c/.h file for each top-level widget, and handle widget properties using gtk args.

I am trying to find a way to generisize the code so that handling new widget properties/callbacks doesn't require a new build of g2c. I can do it, but the generated code isn't as nice. ... read more

Posted by John Margaglione 2000-09-14