[gtkada] GObject_Record is not limited ...

ThAnJuZo thanjuzo at free.fr
Fri Jan 28 21:22:13 CET 2005


... as glib-object.ads tells :
    --  The base type for Glib/Gdk/Gtk objects. It basically gives access
    --  to an underlying C object. This is not a controlled type for
    --  efficiency reasons and because glib takes care of the memory
    --  management on its own.

Hi,

is it so expensive to use a (limited) controlled type ?

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".

Is there some situations where doing "A := B;" with GObject_Record 
derived types could be useful / legal ?

--
Thiery Bernier



More information about the gtkada mailing list