Subject: GnoCanvas question From: Henri Binsztok To: lablgtk at kaba.or.jp Content-Type: text/plain Message-Id: <1079790058.22467.30.camel at seamaster> Mime-Version: 1.0 Date: Sat, 20 Mar 2004 14:40:58 +0100 Content-Transfer-Encoding: 7bit Hi I am beginning to use lablgtk, and while many things just work, one problem persist. I want to delete all items from the whole canvas or a given GnoCanvas.group (canvas#root or another). Therefore, I tried unsuccessfully two ways: - List.iter canvas#remove canvas#children which does not work, since canvas#children is always an empty list... - Use group#get_items, which gives a GnomeCanvas.item Gobject.obj list, but then to use the GnoCanvas.item#destroy method, I need to convert those items, which I couldn't figure out :( Thanks in advance, and bravo for making such a good binding to a decent gui toolkit for ocaml ! henri