> Hi everybody, > I'm still here beacuse I can't understand why the Count property of a > TreeView changes using qt rather than gtk. > Now I'm using Gambas 2.19 (on Ubuntu 9.10) from the ppa repo deb > http://ppa.launchpad.net/madnessmike/gambas/ubuntu karmic main. > > I've attached a project example. > > Using gtk it seems to work correctly as it has the total number of > items[1], using qt it seems to return the number of items that doesn't > belong to a parent (in the attached example the items 1, 4 and 9, maybe > I can call them "root items of the branch"). > What's the right behaviour? > > Tnx in advance. > -- > Matteo > > [1] http://gambasdoc.org/help/comp/gb.qt/treeview/count >
You are right. But now I can't decide. The gb.qt behaviour is more logical, but the gb.gtk behaviour may be more useful. Moreover, ColumnView should has the same problem... -- Benoît Minisini ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user