Re: Re: [C++]Use Glib::RefPtr<> with my own classes ?



On Jul 30, 2010 1:18pm, Chris Vine <chris cvine freeserve co uk> wrote:
> The problem with using RefPtr with non-GObjects, however, is the "if it
>
> is created with a reference count of 1": RefPtr is constrained to do
>
> it this way because new GObjects begin with a reference count of 1.

Good stuff. Reading your explanation turned a light on in my head with
regard to some of the architectural questions I've had bouncing around
with respect to Gtkmm.

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