Re: deleting canvas items
- From: Gregory McLean <gregm comstar net>
- To: "Jeffrey W. Bizzaro" <jeff theopenlab uml edu>
- Cc: gnome-devel-list gnome org
- Subject: Re: deleting canvas items
- Date: Sun, 01 Aug 1999 21:19:48 -0400
-> Hello.
->
-> Is there any way to delete, destroy or remove a canvas item once it has been created? If gnome_canvas_item_new is analogous to gtk_*_new, should there also be a gnome_canvas_item_delete?
->
-> An alternative, which seems kind of hack and does nothing to free up the memory, is to hide the item or reparent it to a hidden group.
->
-> BTW, thank you Raph and others for such a nice widget!
gtk_object_destroy (GTK_OBJECT (undeeded_canvas_item)); and poof it goes
away.
->
->
-> Cheers.
-> Jeff
->
->
-> --
-> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
-> as the Subject.
->
Gregory McLean |"With sufficient thrust, pigs fly just fine."
RFC1925
ComStar Communications | programmer / analyst | icq: ! | 770.485.6016
Work:<gregm@comstar.net>| Play: <gregm@gxsnmp.org> or <gregm@gnu.org>
----------------This is my opinion, All MINE! I tell you------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]