Re: gnome_canvas_item_delete() ???

>  I was wondering... There is a gnome_canvas_item_new() function that
>  adds new items into the canvas, and this seems to work just fine. What
>  about when I want to remove things from the canvas? There doesn't
>  seem to be any gnome_canvas_item_delete() anywhere. It looks like a
>  gnome_canvas_item is of type GtkObject, but I don't think just doing a
>  gtk_object_destroy( GTK_OBJECT( my_canvas_item)) is going to be a very
>  good idea...  Have a missed something here?

gtk_object_destroy() is the right way to destroy a canvas item.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]