Re: Removing a widget from its container without destroying it
- From: Murray Cumming <murrayc murrayc com>
- To: Mickael Drean <mickael drean gmail com>
- Cc: Michael Ekstrand <michael elehack net>, gtkmm-list gnome org
- Subject: Re: Removing a widget from its container without destroying it
- Date: Mon, 13 Feb 2006 18:43:30 +0100
On Mon, 2006-02-13 at 16:38 +0100, Mickael Drean wrote:
> well, in fact I've just called Gtk::Vbox::add(Widget&)
>
> 2006/2/13, Michael Ekstrand <michael elehack net>:
> On Mon, 13 Feb 2006 09:05:06 +0100
> Mickael Drean <mickael drean gmail com> wrote:
> > nop, remove() destroy my widget! i want to use it again
> later
>
> Wild guess... is it memory management? When you added the
> widget to the
> container initially, did you tell it to manage the widget? I'm
> not
> well-versed enough yet in the memory management aspect of
> Gtkmm to know
> for sure, but it seems to me like it could cause this kind of
> a problem.
No, that's not likely. A small compileable test case would show whatever the problem is.
--
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]