[gtkada] editor widget

Emmanuel Briot briot at gnat.com
Tue Jul 4 12:56:28 CEST 2000


[Please put some meaningful subject in your messages, so that browsing the
archives of the mailing list remains as easy as possible]

 > On the Web, i found GtkEditor (http://gtkeditor.sourceforge.net/), but there're
 > no bindings for Ada. I nobody here can give me a good alternative, i'll use
 > c2ada :(

You can not use c2ada to generate bindings compatible with GtkAda. There is a
whole layer of tagged types between Ada and C that can not be magically
generated by c2ada.
The good news, however, is that doing such a binding is relatively easy, since
this is basically a question of putting the appropriate pragma Imports. Look
at the sources of GtkAda itself for some examples.

Of course, if you do such a binding, we would be glad to get a copy to
possibily include in a future release of GtkAda... :-)


 > Another question : What's the documentation system used with GtkAda ? Is there a
 > standardized one ?

There is no "standard", although we are following some rules so that the
reference manual can be automatically generated. This should not be too hard
to guess the format. You can also look at the script
docs/gtkada_rm/generate_doc.pl that contains a full description of the format

Emmanuel





More information about the gtkada mailing list