[gtkada] GObject_Record is not limited ...
Arnaud Charlet
charlet at adacore.com
Mon Jan 31 10:06:32 CET 2005
> is it so expensive to use a (limited) controlled type ?
Why do you want to make it controlled as opposed to simply tagged limited
record ?
> I have to embbed a task in a Gtk_Widget derived type, and it is illegal
> (RM95-3.4(15)), one can only set a field "access to task".
And why is that a problem ? This sounds like exactly what you should do
indeed.
The GtkAda library itself (and some of its extensions) needs to assign and
modify objects of type GObject_Record. It might actually be possible that
Ada 2005 allows GObject_Record to be limited, and still allows the kind of
assignments done in the GtkAda library, that would be interesting to
investigate.
Arno
More information about the gtkada
mailing list