[gtkada] Contributions to GtkAda

Dmitry A. Kazakov mailbox at dmitry-kazakov.de
Wed Jul 19 19:59:12 CEST 2006


I failed to post sources to this mailing list, so I hosted it on my web
site:

http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm

The contributions comprise the following packages three packages to deal
with GtkTreeView under Ada:

   gtk-tree_model-abstract_store

provides abstract base type for developing custom TreeView models. The code
was inspired by an implementation of a custom model by Maxim Resznik. The
GTK+ 'virtual' functions are mapped in a natural way to the abstract
primitive operations of the base type. A derived type shall provide an
implementation for them. Ada-style Finalization is supported.

   gtk-tree_model-generic_sort

provides a GtkAda interface to GtkTreeSortable. The package is instantiated
with a custom tree model derived from Gtk_Abstract_Model_Record of the
package above. A user-defined sort operation can be then provided. 

   gtk.cell_renderer.abstract_renderer

provides an abstract base type for GTK+ tree view column renderers. The
GTK+ virtual functions are mapped to primitive operations of the type.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



More information about the gtkada mailing list