[gtkada] gtk.list

Emmanuel Briot briot at ACT-Europe.FR
Wed May 29 16:11:51 CEST 2002


Preben Randhol <randhol at pvv.org> writes:

> Stephen Leake <stephen_leake at acm.org> wrote on 28/05/2002 (11:45) :
> > I just figured out how to use a gtk list, and I have a suggestion.
> 
> Isn't this package semi-obsolete now and obsolete in GtkAda 2.0 ? I was
> always told to use Clist over List.


It is semi-obsolete in both. Basically, they have kept it in GtkAda 2.0 because
it is still used by Gtk.Combo internally. However, it is recommended that you
use gtk-clist instead in your own code, this is much more flexible, or even the
more complex, but even more flexible gtk.tree_view in GtkAda 2.0.

The reason we do not use a List_Item_List is to avoid doing too many generic
instantiations in GtkAda itself, and so we can reduce the footprint of GtkAda a
little.

But it would need some comments indeed.

Emmanuel




More information about the gtkada mailing list