Re: [gtkmm] Re: Glib::RefPtr also for Widgets?



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]