Re: memory management



On Wed, Dec 08, 2004 at 22:14:41 +0100, Murray Cumming wrote:
> 
> > Thank you for answering my e-mail.
> > I  followed the links you have send me, but it seems to me manage() can
> > be aplied only to
> > widgets with container as parent.
> >
> > I want to know if I can do something similar with any Glib/Gtk class.
> 
> No, it only works for Gtk::Widgets.

Glib::Object has a normal refcount, which is by far easier to use,
especialy when you use the Glib::RefPtr<> pointer that do the
refcounting for you.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb ucw cz>

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]