That sounds like a good solution I will give it a go.
Damon Chaplin wrote:
On Sun, 2008-07-06 at 21:37 +1000, Richard Gipps wrote:
I was wondering if there is an easy way to delete all the
items in a GooCanvasTableModel without having to keep a list of all the
items you added to the table and then deleting them one by one?
You can get the number of children with:
n_children = goo_canvas_item_model_get_n_children (table);
then remove them with something like:
for (i = 0; i < n_children; i++)
goo_canvas_item_model_remove_child (table, 0);