[gtkada] Can't set a parent on widget which has a parent

Arnaud Charlet charlet at adacore.com
Mon Jan 17 11:22:32 CET 2005


> hi :-)

Hi,

> i get that :
> (ed_net:4717): Gtk-WARNING **: Can't set a parent on widget which has a 
> parent
> 
> what does that mean ?

It means that you can't set a parent on a widget which already has a parent.

> i got the source code from a coworker who is no longer with me
> 
> what kind of widget it can happen with ?

Any widget, since there's no notion of multiple parents for widgets.

I'd suggest you debug the code and/or read the source code to find
where the error mentioned above is.

Arno



More information about the gtkada mailing list