[Gambas-user] TreeView.Count value differs using qt rather than gtk
Doriano Blengino
doriano.blengino at ...1909...
Tue Jan 26 12:31:24 CET 2010
Kadaitcha Man ha scritto:
> 2010/1/26 Doriano Blengino <doriano.blengino at ...1909...>:
>
>> Kadaitcha Man ha scritto:
>>
>>> 2010/1/26 Doriano Blengino <doriano.blengino at ...1909...>:
>>>
>>>
>>>
>>>> Actually I expressed myself badly. Example:
>>>>
>>>>
>>> Actually, I express myself badly quite often. Example:
>>>
>>> [CENSORED] [CENSORED] [CENSORED] [CENSORED]!
>>>
>>> :)
>>>
>>> As for this:
>>>
>>> [QUOTE]
>>> Tree1:
>>> - item0
>>> - item1
>>> - item1.0
>>>
>>> Tree1.count is 3 (global count)
>>> [QUOTE]
>>>
>>> Unless you expressed yourself badly again I disagree. :)
>>>
>>> The count is one. One root. One tree.
>>>
>>>
>> Tree1 is a TreeView, not a node.
>>
>
> Therefore tv["Tree1"].Count = 2 is still true.
>
No, it is false. tv["Tree1"].Children.Count is two.
I don't know if you readed my last message, where things are expressed
better.
See the next message.
See you later...
More information about the User
mailing list