[gtkada] Gtk.Containers and derived types
Tony Gair
tony at bmshome.org
Tue Aug 23 22:05:03 CEST 2011
I'm trying to use the procedure Gtk.Container.Remove on a hbox container
and I get a compiler error because it is expecting a Gtk.Container
access type rather than the Hbox I try to use in the parameter.
<b>120:59</b> expected an access type with designated private type
"Gtk_Container_Record" defined at gtk-container.ads:44 Builder
results000120
<b> </b> found an access type with designated type
"Gtk_Hbox" defined at <span
color="blue"><u>gtk-box.ads:67</u></span> Builder results000067
Is there a way to reference the container part of the hbox so I can
remove the widget
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tony.vcf
Type: text/x-vcard
Size: 272 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20110823/f892483a/attachment.vcf
More information about the gtkada
mailing list