[ROOT] TGLVContainer - update

From: cstrato (aon.912121399@aon.at)
Date: Sun Jul 13 2003 - 15:26:56 MEST


Dear Rooters

1, TGLVContainer::AddItem(item):
Meanwhile I realized that I can do: fContainer->GetList()->GetSize().
However, the question is what is the purpose of TGContainer::NumItems()?

2, TGContainer::GetLastActive():
Sorrowly, fContainer->GetLastActive() causes Break-bus error,
if no item is activated. It would be great if this method could be changed
to return null, if no item is active.

Thank you in advance
Best regards
Christian


> Dear Rooters
>
> After adding items with TGLVContainer::AddItem(item) I want
> to know the number of items in the container. So I tried to get the
> number with TGContainer::NumItems(), which returns fTotal.
>
> Interestingly, AddItem() does not increase fTotal, so NumItems()
> returns null. Is there a certain reason for this and how can I get
> the number of items?
>
> Thank you in advance
> Best regards
> Christian
> _._._._._._._._._._._._._._._._
> C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
> V.i.e.n.n.a       A.u.s.t.r.i.a
> _._._._._._._._._._._._._._._._
>
>
>
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET