Re: [gtkmm] RefPtr



On Sat, 2003-03-08 at 16:01, Erwin Rol wrote:
> On Sat, 2003-03-08 at 14:49, Murray Cumming wrote:
> > On Sat, 2003-03-08 at 15:06, Erwin Rol wrote:
> > > Hello all,
> > > 
> > > When I have a RefPtr to a Widget how do I add() that to a container? 
> > 
> > How did you get a RefPtr to a widget?
> 
> Hey Murray, 
> 
> Thanks for the quick reply.
> 
> I got a RefPtr to a widget by making it.

We don't think that RefPtr works particularly well with widgets because
containers can destroy their children regardless of any extra
references.

-- 
Murray Cumming
murray usa net
www.murrayc.com




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