Re: [gtkmm] Re: Glib::RefPtr also for Widgets?
- From: Murray Cumming <murrayc usa net>
- To: Christof Petig <christof petig-baender de>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Re: Glib::RefPtr also for Widgets?
- Date: 20 Sep 2002 14:31:37 +0100
On Fri, 2002-09-20 at 13:42, Christof Petig wrote:
> I found a fourth way:
>
> 4- { Gtk::Foo *w = manage(new Foo()); .... w->destroy(); }
>
> but got the impression that destroy is disregarded as of gtkmm2.
Yes. delete should cause the destruction of the GTK+ C instance, and
vice versa. If you needed to use destroy() in gtkmm2 then there would
probably be a bug in gtkmm2.
--
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]