Re: Canvas item destructors
- From: Murray Cumming <murrayc murrayc com>
- To: Jean-Marc Valin <Jean-Marc Valin USherbrooke ca>
- Cc: gtkmm-list gnome org
- Subject: Re: Canvas item destructors
- Date: Tue, 25 Jul 2006 18:17:00 +0200
On Mon, 2006-07-24 at 20:45 +1000, Jean-Marc Valin wrote:
> Hi,
>
> I'm having problems with libgnomecanvasmm. I'm deriving from the Rect
> class. When I destroy the parent group, my rect disappears from the
> canvas, but my (derived) class destructor doesn't get called. I guess my
> question would be is that a bug or feature? ...and if it's a feature,
> how are we supposed to manage item destructors?
As far as I know, you have to delete the child items yourself. I don't
think that manage() works with canvas items. But I don't use the canvas
- maybe someone else knows.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]