Re: [gtkmm] Removing a widget from a container temporarily
- From: Tor Arvid Lund <tor arvid lund idi ntnu no>
- To: Samuel <expires200404 debain org>, gtkmm-list gnome org
- Subject: Re: [gtkmm] Removing a widget from a container temporarily
- Date: Mon, 16 Feb 2004 09:21:01 +0100
Samuel wrote:
hpaned->remove(*viewport1);
hpaned->remove(*viewport2);
table->remove(*hpaned);
table->attach(*viewport1, 0, 1, 0, 1, Gtk::FILL, Gtk::FILL, 0, 0);
------------------
This segfaults at "table->attach":
I think if you just call viewport1->reference(); before the remove you
will be OK.
--
Tor Arvid Lund
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]