This is the GtkAda Examples Directory. Our goal is to provide the
GtkAda user with some pieces of code that are easy to understand, easy
to modify and to play with.
If you are interested in sharing your own programs with the GtkAda community,
please tune them with the latest GtkAda version and send them with appropriate
documentation (and bug reports) to the authors.
Note that you need to first install GtkAda to use these examples.
Some of the examples are build using the GNAT project files, to demonstrate
how to use them to simply compile and link your application.
See for instance base_widget/ and calendar_combo/
Others are build using the gtkada-config script, on machines where this script
Demonstrates the use of gate/dgate with a glade project file.
To test dgate, simply type
$ dgate menu.glade
And play with the interface automatically generated.
To test gate, type
$ gate menu.glade
This will generate a set of files. Optionally modify callbacks_menu.adb
to customize it, then compile and run it:
$ gnatmake menu `gtkada-config`
Demonstrates the file selection GTK widget. Follow the instructions
explained above for menu.