[gtkada] libglade and Windows

Marc A. Criley m.criley at earthlink.net
Wed Apr 27 19:13:48 CEST 2005


graphics at curts.mailshell.com wrote:
 
> My experience thus far is the regeneration of the Ada code 
> for the UI is not overly troublesome.  Do your code 
> generation a directory separate from your main source 
> directory, then copy the <UI>_pkg.ads & .adb to your main 
> source directory.  Manually transfer any callback changes 
> from the skeleton <UI>_pkg.callbacks.ads & .adb and 
> callbacks_<UI>.ads to your customized versions.

Or use Emacs ediff, or Araxis Merge, or any merging tool you have handy.
Obviously this is more tedious than having it automatically done for you,
but it need not be too bad.

One thing I do is ensure that each of my callback functions rarely consist
of more than one statement: an invocation of the external procedure that
actually does the work.

Marc A. Criley
www.mckae.com





More information about the gtkada mailing list