[gtkada] Looking for doc on gate/dgate

Arnaud Charlet charlet at ACT-Europe.FR
Wed Oct 25 12:30:19 CEST 2000


> However, the gate/dgate translators that come with GtkAda, and allow to
> generate Ada code from Glade do not support Gnome yet.

Indeed, this is currently true.

> I have written a simple interface from Ada to some of the Gome-UI
> library modules, and hand-coded these into code generated by
> Glade/gae/dgate,
> but I now wonder: would it be feasible to adapt Glade/gate/dgate to
> provide support
> for the simple Gnome library interface I have written?

Most likely, yes.

> Rather than me reverse-engineering the lot: is there anybody around that
> 
> can provide some pointers to doc that would help me do this, or to
> sample code or
> otherwise can give some advise?

Look at the secret GtkAda documentation as a starting point, even if
this section isn't complete yet: User's Guide, section Add Gate support for
new widgets.

As for sample code, look at the Generate procedures present in each gtk-*.adb
file to get a feeling on how easy it is to usually add support for new
widgets.

Incidentally, you should subscribe to this list in order to follow the
discussions. To do so, simple go to http://gtkada.eu.org and follow the
links, or send a subscribe request to gtkada-request at gtkada.eu.org.

Could you tell us which part of gnome you've started to bind ?
Would you be willing to contribute your code ?
Note that we've also started to work on binding gnome, and in particular in
order to support the glade code generation, and we've worked on the
following gnome packages that are almost complete (except for gnome-app-helper
which still needs some imports).

gnome-app.adb
gnome-stock.ads
gnome.ads
gnome-app-helper.adb
gnome-app.ads
gnome-ui_defs.ads
gnome-app-helper.ads
gnome-stock.adb
gnome.adb

Arno




More information about the gtkada mailing list